From bdc3210eaea59b346906d34eb1deb2081a0b8360 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 17 Jun 2018 15:41:42 -0700 Subject: remove random entity endpoints --- python/tests/routes.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'python/tests/routes.py') 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 -- cgit v1.2.3