Commit 306e3c18 authored by Cate S's avatar Cate S

Updating endpoints yet again

For some reason the blueprints aren't included when I run the tests
locally.
parent 2553fb7f
...@@ -586,7 +586,7 @@ def test_export_csv(): ...@@ -586,7 +586,7 @@ def test_export_csv():
endpoint='exportinclusion') endpoint='exportinclusion')
admin.add_view(view) admin.add_view(view)
rv = client.get('/admin/model/exportinclusion/csv/') rv = client.get('/admin/exportinclusion/export/csv/')
data = rv.data.decode('utf-8') data = rv.data.decode('utf-8')
eq_(rv.mimetype, 'text/csv') eq_(rv.mimetype, 'text/csv')
eq_(rv.status_code, 200) eq_(rv.status_code, 200)
...@@ -602,7 +602,7 @@ def test_export_csv(): ...@@ -602,7 +602,7 @@ def test_export_csv():
endpoint='exportexclusion') endpoint='exportexclusion')
admin.add_view(view) admin.add_view(view)
rv = client.get('/admin/model/exportexclusion/csv/') rv = client.get('/admin/exportexclusion/import/csv/')
data = rv.data.decode('utf-8') data = rv.data.decode('utf-8')
eq_(rv.mimetype, 'text/csv') eq_(rv.mimetype, 'text/csv')
eq_(rv.status_code, 200) eq_(rv.status_code, 200)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment