summaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-06-17 15:41:42 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-06-17 15:41:42 -0700
commitbdc3210eaea59b346906d34eb1deb2081a0b8360 (patch)
tree04d8c94ca80475c7028445d09b4b7c99f8f46039 /python/tests
parenta4f9a344bb7d80fdb830b764d26eec986a47e4c1 (diff)
downloadfatcat-bdc3210eaea59b346906d34eb1deb2081a0b8360.tar.gz
fatcat-bdc3210eaea59b346906d34eb1deb2081a0b8360.zip
remove random entity endpoints
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/routes.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/python/tests/routes.py b/python/tests/routes.py
index b4fb506c..d6815740 100644
--- a/python/tests/routes.py
+++ b/python/tests/routes.py
@@ -24,9 +24,6 @@ def test_all_views(app):
rv = app.get('/{}/f1f046a3-45c9-ffff-ffff-ffffffffffff'.format(route))
assert rv.status_code == 404
- rv = app.get('/{}/random'.format(route))
- assert rv.status_code == 302
-
rv = app.get('/container/00000000-0000-0000-1111-000000000002'.format(route))
assert rv.status_code == 200
@@ -42,19 +39,9 @@ def test_all_views(app):
rv = app.get('/work/00000000-0000-0000-5555-000000000002'.format(route))
assert rv.status_code == 200
- rv = app.get('/work/random')
- rv = app.get(rv.location)
- assert rv.status_code == 200
-
- rv = app.get('/work/random')
- assert rv.status_code == 302
-
rv = app.get('/work/create')
assert rv.status_code == 200
- rv = app.get('/release/random')
- assert rv.status_code == 302
-
#rv = app.get('/release/00000000-0000-0000-4444-000000000002/changelog')
#assert rv.status_code == 200