From 618c1a7c2e97585118f797b9a255bfa51ce0f472 Mon Sep 17 00:00:00 2001
From: murphy <william.murphy@embl.de>
Date: Tue, 26 Mar 2024 15:17:15 +0100
Subject: [PATCH] Enable volume endpoint test

---
 tests/test_client.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/test_client.py b/tests/test_client.py
index 8a14dd5..52c28f3 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -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
-- 
GitLab