From 47d0356e5aacc17f739a26ab9b0f18ee58906b44 Mon Sep 17 00:00:00 2001 From: Andy Chosak Date: Thu, 2 Nov 2023 10:38:48 -0400 Subject: [PATCH] Fix tests that rely on test database --- viewer/tests/test_csv_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viewer/tests/test_csv_export.py b/viewer/tests/test_csv_export.py index e6e9015..049c5b5 100644 --- a/viewer/tests/test_csv_export.py +++ b/viewer/tests/test_csv_export.py @@ -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")