summaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-28 16:27:11 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-28 16:27:11 -0700
commitbf085b31ac3790ce24feb07dfed6b0e7574ed183 (patch)
tree3c40dfd91b1263e31080028fab63ca304eb023c9 /python/tests
parent1855e07ea846126bc27b1419f104a024d78623c7 (diff)
downloadfatcat-bf085b31ac3790ce24feb07dfed6b0e7574ed183.tar.gz
fatcat-bf085b31ac3790ce24feb07dfed6b0e7574ed183.zip
uuids in flask routes
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/routes.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/tests/routes.py b/python/tests/routes.py
index e11d024e..b4fb506c 100644
--- a/python/tests/routes.py
+++ b/python/tests/routes.py
@@ -18,10 +18,8 @@ def test_static_routes(app):
def test_all_views(app):
for route in ('work', 'release', 'creator', 'container', 'file'):
print(route)
- #with pytest.raises(ApiException) as api_fail:
- # rv = app.get('/{}/999999999999'.format(route))
rv = app.get('/{}/9999999999'.format(route))
- assert rv.status_code == 400
+ assert rv.status_code == 404
rv = app.get('/{}/f1f046a3-45c9-ffff-ffff-ffffffffffff'.format(route))
assert rv.status_code == 404