diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-13 12:45:55 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-13 12:45:55 -0700 |
commit | ec7bce74d501df3b2514baab6ec4685baf126818 (patch) | |
tree | 39767c86e0a6978d672efb146e010c4f6605845f /python | |
parent | a8b440f404da7ccd52329a7d69b0982b1736e2bf (diff) | |
download | fatcat-ec7bce74d501df3b2514baab6ec4685baf126818.tar.gz fatcat-ec7bce74d501df3b2514baab6ec4685baf126818.zip |
start adding some new web route tests
Diffstat (limited to 'python')
-rw-r--r-- | python/tests/web_entity_views.py | 6 |
1 files changed, 6 insertions, 0 deletions
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): |