Skip to content

Commit 17e8750

Browse files
committed
Adding test
1 parent c119e8e commit 17e8750

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

backend/test_api.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ def test_storage_file_operations(self):
5757
self.assertEqual(response.status_code, 200)
5858
data = response.json()
5959
self.assertIsInstance(data, (list, dict))
60+
61+
# Make sure directory shows up
62+
response = requests.get(f"{self.base_url}/storage/")
63+
self.assertEqual(response.status_code, 200)
64+
data = response.json()
65+
self.assertIsInstance(data, (list, dict))
6066

6167
def test_storage_rename_operation(self):
6268
"""Test storage rename endpoint"""

0 commit comments

Comments
 (0)