From ec7bce74d501df3b2514baab6ec4685baf126818 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 13 Jun 2019 12:45:55 -0700 Subject: start adding some new web route tests --- python/tests/web_entity_views.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python/tests/web_entity_views.py b/python/tests/web_entity_views.py index 8da9ab07..4e486e78 100644 --- a/python/tests/web_entity_views.py +++ b/python/tests/web_entity_views.py @@ -102,6 +102,12 @@ def test_web_container(app): assert rv.status_code == 302 rv = app.get('/container/create') assert rv.status_code == 302 + rv = app.get('/container/rev/00000000-0000-0000-1111-fff000000002') + assert rv.status_code == 200 + rv = app.get('/editgroup/aaaaaaaaaaaabo53aaaaaaaaaq/container/aaaaaaaaaaaaaeiraaaaaaaaai') + assert rv.status_code == 200 + rv = app.get('/editgroup/aaaaaaaaaaaabo53aaaaaaaaaq/container/aaaaaaaaaaaaaeiraaaaaaaaai/edit') + assert rv.status_code == 302 def test_web_container_login(full_app, app_admin): -- cgit v1.2.3