Skip to content
Snippets Groups Projects

Rename Stocks data registration to LabID data registration.

Merged William Murphy requested to merge #15-rename-stocks-data-registration into master
4 files
+ 11
8
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 2
3
@@ -107,7 +107,7 @@ def test_register_data(auth_test_client, collection_id, comment, name):
))
def test_register_labid_data(auth_test_client, collection_id, comment, name):
"""
Test the data registration endpoint.
Test the labid data registration endpoint.
"""
resp = auth_test_client.register_labid_data(
path='/g/test/stocks/bar',
@@ -263,12 +263,11 @@ def test_pullover(auth_test_client, collection_id, comment, name):
assert isinstance(resp, models.Data)
assert resp is not None
@pytest.mark.skip(reason="Test not possible as volume endpoint hidden from OpenAPI spec")
def test_list_volumes(auth_test_client):
"""
Test the volume list endpoint.
"""
volumes = auth_test_client.list_data()
volumes = auth_test_client.list_volumes()
assert len(volumes) > 0
assert isinstance(volumes, list)
assert all((isinstance(v, models.Volume) for v in volumes))
\ No newline at end of file
Loading