Skip to content

Commit

Permalink
Fix tests that rely on test database
Browse files Browse the repository at this point in the history
  • Loading branch information
chosak committed Nov 2, 2023
1 parent ebc94e6 commit 47d0356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewer/tests/test_csv_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ def test_csv_generation(self):
self.assertEqual(response["Content-Type"], "text/csv; charset=utf-8")

rows = BytesIO(response.getvalue()).readlines()
self.assertEqual(len(rows), 3)
self.assertEqual(len(rows), 4)
self.assertEqual(rows[0], codecs.BOM_UTF8 + b"url,title,language\r\n")

0 comments on commit 47d0356

Please sign in to comment.