diff options
Diffstat (limited to 'python/tests/web_entity_views.py')
-rw-r--r-- | python/tests/web_entity_views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tests/web_entity_views.py b/python/tests/web_entity_views.py index 6555eeeb..c42661cb 100644 --- a/python/tests/web_entity_views.py +++ b/python/tests/web_entity_views.py @@ -34,6 +34,8 @@ def test_entity_basics(app): # good requests rv = app.get('/{}/{}'.format(entity_type, ident)) assert rv.status_code == 200 + rv = app.get('/{}_{}'.format(entity_type, ident)) + assert rv.status_code == 302 rv = app.get('/{}/{}/history'.format(entity_type, ident)) assert rv.status_code == 200 rv = app.get('/{}/{}/metadata'.format(entity_type, ident)) |