Skip to content

Commit

Permalink
auto release for 0.9.0 (#16)
Browse files Browse the repository at this point in the history
FEATURES:

- Add `ucloudstack` product

ENHANCEMENTS:

- Add `deprecated` decorator
  • Loading branch information
ucloud-bot authored May 21, 2020
1 parent 57e3e0b commit da9cb90
Show file tree
Hide file tree
Showing 14 changed files with 6,470 additions and 17 deletions.
20 changes: 13 additions & 7 deletions docs/services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ USMS
.. autoclass:: ucloud.services.usms.client.USMSClient
:members:

VPC
---

.. autoclass:: ucloud.services.vpc.client.VPCClient
:members:



IPSecVPN
Expand All @@ -88,6 +94,13 @@ IPSecVPN
:members:


UCloudStack
-----------

.. autoclass:: ucloud.services.ucloudstack.client.UCloudStackClient
:members:


UFS
---

Expand All @@ -101,10 +114,3 @@ UHub
.. autoclass:: ucloud.services.uhub.client.UHubClient
:members:


VPC
---

.. autoclass:: ucloud.services.vpc.client.VPCClient
:members:

18 changes: 16 additions & 2 deletions tests/test_acceptance/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,22 @@
from ucloud.client import Client


@pytest.fixture(scope="session", autouse=True, name="client")
def client_factory():
@pytest.fixture(scope="session", autouse=True)
def ustack_client():
return Client(
{
"base_url": "http://192.168.179.2/api",
"region": "cn",
"public_key": os.getenv("UCLOUDSTACK_PUBLIC_KEY"),
"private_key": os.getenv("UCLOUDSTACK_PRIVATE_KEY"),
"max_retries": 10,
"timeout": 60,
}
)


@pytest.fixture(scope="session", autouse=True)
def client():
return Client(
{
"region": "cn-bj2",
Expand Down
Loading

0 comments on commit da9cb90

Please sign in to comment.