aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/web_editgroup.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/web_editgroup.py')
-rw-r--r--python/tests/web_editgroup.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/python/tests/web_editgroup.py b/python/tests/web_editgroup.py
new file mode 100644
index 00000000..e6185eda
--- /dev/null
+++ b/python/tests/web_editgroup.py
@@ -0,0 +1,20 @@
+
+import json
+import tempfile
+import pytest
+from fatcat_client.rest import ApiException
+from fixtures import *
+
+def test_web_editgroup(app):
+
+ rv = app.get('/editgroup/aaaaaaaaaaaabo53aaaaaaaaae')
+ assert rv.status_code == 200
+
+ rv = app.get('/editgroup/ccccccccccccccccccccccccca')
+ assert rv.status_code == 404
+
+ rv = app.get('/editor/aaaaaaaaaaaabkvkaaaaaaaaae')
+ assert rv.status_code == 200
+
+ rv = app.get('/editor/aaaaaaaaaaaabkvkaaaaaaaaae/editgroups')
+ assert rv.status_code == 200