Commit d4100d5f authored by Cate S's avatar Cate S

Fixing exclusion endpoint

parent 306e3c18
...@@ -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/exportexclusion/import/csv/') rv = client.get('/admin/exportexclusion/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)
......
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