Update test_reports.py

This commit is contained in:
zandercymatics 2023-11-28 12:08:57 -07:00
parent cf68aaea5b
commit 328c0c0816
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -145,8 +145,8 @@ class CsvReportsTest(TestCase):
# Check that the response contains what we expect # Check that the response contains what we expect
file_content = b"".join(response.streaming_content).decode("utf-8") file_content = b"".join(response.streaming_content).decode("utf-8")
expected_file_content = ( expected_file_content = (
"Domain name,Domain type,Agency,Organization name,City,State,Security Contact Email\r\n" "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" "cdomain1.gov,Federal - Executive,World War I Centennial Commission,,,, \r\n"
"ddomain3.gov,Federal,Armed Forces Retirement Home,,,," "ddomain3.gov,Federal,Armed Forces Retirement Home,,,,"
) )
@ -163,8 +163,8 @@ class CsvReportsTest(TestCase):
file_content = b"".join(response.streaming_content).decode("utf-8") file_content = b"".join(response.streaming_content).decode("utf-8")
expected_file_content = ( expected_file_content = (
"Domain name,Domain type,Agency,Organization name,City,State,Security Contact Email\r\n" "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" "cdomain1.gov,Federal - Executive,World War I Centennial Commission,,,, \r\n"
"ddomain3.gov,Federal,Armed Forces Retirement Home,,,,\r\n" "ddomain3.gov,Federal,Armed Forces Retirement Home,,,, \r\n"
"adomain2.gov,Interstate,,,,," "adomain2.gov,Interstate,,,,,"
) )