We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef4b3ec commit ae6f599Copy full SHA for ae6f599
test/unit/test_projects.py
@@ -131,6 +131,14 @@ def test_import_sync() -> None:
131
else:
132
assert proj.import_zip(asynchronous=False).startswith("FAILED")
133
134
+def test_import_no_zip(get_test_project: Generator[projects.Project]) -> None:
135
+ """test_import_no_zip"""
136
+ if tutil.SQ.edition() == c.CE:
137
+ pytest.skip("No zip import in Community Build")
138
+ assert get_test_project.import_zip(asynchronous=False) == f"FAILED/ZIP_MISSING"
139
+ get_test_project.key = "non-existing"
140
+ res = get_test_project.import_zip(asynchronous=False)
141
+ assert res.startsWith("FAILED/") and "not found" in res
142
143
def test_monorepo() -> None:
144
"""test_monorepo"""
0 commit comments