Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyweb committed Apr 6, 2021
1 parent 005189a commit 2e45dff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions server/api/tests/integration/test_api_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ def test_api_report_council_name(client):


def test_csv_export(client):
url = "/reports/export/service_requests.csv"
url = "/reports/export/2020/service_requests.csv"
response = client.get(url)
print(response)
assert response.status_code == 200


def test_gzip_export(client):
url = "/reports/export/service_requests.csv.gz"
url = "/reports/export/2020/service_requests.csv.gz"
response = client.get(url)
print(response)
assert response.status_code == 200

0 comments on commit 2e45dff

Please sign in to comment.