Temporary project

This commit is contained in:
Julien Duponchelle committed 2015-01-23 16:02:26 +01:00
1 parent 7bf121c6da
commit abc885049f
5 files changed
+74 -12

No files matched your search

+9
View File
@@ -34,6 +34,15 @@ def test_create_project_without_dir(server):
response = server.post("/project", query)
assert response.status == 200
assert response.json["uuid"] is not None
assert response.json["temporary"] is False
def test_create_temporary_project(server):
query = {"temporary": True}
response = server.post("/project", query)
assert response.status == 200
assert response.json["uuid"] is not None
assert response.json["temporary"] is True
def test_create_project_with_uuid(server):