Added create container grpc method
Signed-off-by: Ilyas Niyazov <i.niyazov@yadro.com>
This commit is contained in:
parent
9a1b5d778b
commit
f8465e5b99
34 changed files with 532 additions and 53 deletions
14
tests/client/test_create_container.py
Normal file
14
tests/client/test_create_container.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
# import pytest
|
||||
|
||||
# from frostfs_sdk.client.frostfs_client import FrostfsClient
|
||||
# from frostfs_sdk.client.parameters.container_create import PrmContainerCreate
|
||||
# from frostfs_sdk.models.dto.container import ContainerId
|
||||
# from tests.helpers.models import Helpers
|
||||
|
||||
|
||||
# @pytest.mark.container
|
||||
# class TestContainer:
|
||||
# def test_create_container(self, default_frostfs_client: FrostfsClient, helpers: Helpers):
|
||||
# req_body: PrmContainerCreate = helpers.container.create_params_container_create()
|
||||
# cid: ContainerId = default_frostfs_client.container.create(req_body)
|
||||
# print(cid.value)
|
Loading…
Add table
Add a link
Reference in a new issue