From 00976b3b9b9022a46cce8e0a23d61aa350e42257 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:24:45 -0700 Subject: [PATCH] Add temp logging to find error --- src/registrar/tests/test_reports.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/registrar/tests/test_reports.py b/src/registrar/tests/test_reports.py index 9f118a021..f79f4be56 100644 --- a/src/registrar/tests/test_reports.py +++ b/src/registrar/tests/test_reports.py @@ -144,6 +144,8 @@ class CsvReportsTest(TestCase): self.assertEqual(response.status_code, 200) # Check that the response contains what we expect file_content = b"".join(response.streaming_content).decode("utf-8") + print("data to expect fed") + print(file_content) expected_file_content = ( "Domain name,Domain type,Agency,Organization name,City,State,Security Contact Email \r\n" "cdomain1.gov,Federal - Executive,World War I Centennial Commission,,,, \r\n" @@ -161,6 +163,8 @@ class CsvReportsTest(TestCase): self.assertEqual(response.status_code, 200) # Check that the response contains what we expect file_content = b"".join(response.streaming_content).decode("utf-8") + print("data to expect") + print(file_content) expected_file_content = ( "Domain name,Domain type,Agency,Organization name,City,State,Security Contact Email\r\n" "cdomain1.gov,Federal - Executive,World War I Centennial Commission,,,, \r\n"