updated migration

This commit is contained in:
smilerz
2021-04-11 21:22:56 -05:00
parent 7ab8b84044
commit 43c808380d
4 changed files with 6 additions and 7 deletions

View File

@@ -76,7 +76,7 @@ def test_add(arg, request, u1_s2):
print(r.content)
assert r.status_code == arg[1]
if r.status_code == 201:
# id can change when running multiple tests, changed to validate name
# changed to name - when multiple tests run DB isn't cleared between tests
assert response['name'] == 'test'
r = c.get(reverse(DETAIL_URL, args={response['id']}))
assert r.status_code == 200