Fixed unit test

pull/357/head
Piero Toffanin 2017-12-05 14:49:21 -05:00
rodzic 44d3674314
commit d8be9a6313
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -275,7 +275,7 @@ class TestApiTask(BootTransactionTestCase):
# Other user still does not have access to certain parts of the API
res = other_client.get("/api/projects/{}/tasks/{}/".format(project.id, task.id))
self.assertTrue(res.status_code == status.HTTP_404_NOT_FOUND)
self.assertTrue(res.status_code == status.HTTP_403_FORBIDDEN)
# Restart a task
testWatch.clear()