Skip to content

Commit

Permalink
release: v0.1.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Guo-Zhang committed May 30, 2022
1 parent 89fa520 commit 44bfd20
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "coding-devops-sdk-py"
version = "0.1.0-alpha.3"
version = "0.1.0-beta.1"
authors = [
{name = "QuantTide Inc.", email = "opensource@quanttide.com"}
]
Expand Down
2 changes: 2 additions & 0 deletions tests/test_depot_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

import os
import unittest
from unittest import skip

from coding_devops_sdk.depot import Git


class GitTestCase(unittest.TestCase):
@skip
def test_git_clone(self):
project_name = 'demo'
depot_name = 'demo'
Expand Down
3 changes: 0 additions & 3 deletions tests/test_openapi_depot.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ class DepotAPITestCase(unittest.TestCase):
def test_describe_project_depot_info_list(self):
data = coding_openapi_client.describe_project_depot_info_list(project_id=settings.TEST_PROJECT_ID)
self.assertTrue(data)
print(data)


class IntegratedDepotAPITestCase(unittest.TestCase):
def test_describe_project_depot_info_list_by_name(self):
data = coding_openapi_client.describe_project_depot_info_list_by_name(project_name=settings.TEST_PROJECT_NAME)
self.assertTrue(data)
print(data)

def test_get_depot_id_by_name(self):
depot_id = coding_openapi_client.get_depot_id_by_name(
Expand All @@ -39,7 +37,6 @@ def test_describe_git_releases_by_name(self):
status=1
)
self.assertTrue(data)
print(data)


if __name__ == '__main__':
Expand Down
1 change: 0 additions & 1 deletion tests/test_openapi_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class ProjectAPITestCase(unittest.TestCase):
def test_describe_project_by_name(self):
return_data = coding_openapi_client.describe_project_by_name(project_name=settings.TEST_PROJECT_NAME)
self.assertTrue(return_data)
print(return_data)


if __name__ == '__main__':
Expand Down
5 changes: 2 additions & 3 deletions tests/test_openapi_team.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import unittest


class MyTestCase(unittest.TestCase):
def test_something(self):
self.assertEqual(True, False) # add assertion here
class TeamAPITestCase(unittest.TestCase):
pass


if __name__ == '__main__':
Expand Down

0 comments on commit 44bfd20

Please sign in to comment.