Skip to content

Commit 00e55cb

Browse files
committed
Fix for available storage project
1 parent 3c2976d commit 00e55cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mergin/test/test_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ def test_available_storage_validation(mcStorage):
797797
assert got_right_err
798798

799799
# Expecting empty project
800-
project_info = get_project_info(mcStorage, API_USER, test_project)
800+
project_info = get_project_info(mcStorage, STORAGE_WORKSPACE, test_project)
801801
assert project_info["version"] == "v0"
802802
assert project_info["disk_usage"] == 0
803803

@@ -873,6 +873,8 @@ def get_project_info(mc, namespace, project_name):
873873
"""
874874
projects = mc.projects_list(flag="created")
875875
test_project_list = [p for p in projects if p["name"] == project_name and p["namespace"] == namespace]
876+
print(namespace)
877+
print(test_project_list)
876878
assert len(test_project_list) == 1
877879
return test_project_list[0]
878880

0 commit comments

Comments
 (0)