mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 03:58:39 +02:00
fix view test after changing export file name
This commit is contained in:
parent
6819d93447
commit
530fa9ec8b
1 changed files with 1 additions and 1 deletions
|
@ -38,5 +38,5 @@ class TestViews(TestCase):
|
|||
self.assertEqual(response["Content-Type"], "text/csv")
|
||||
|
||||
# Check if the filename in the Content-Disposition header matches the expected pattern
|
||||
expected_filename = f"growth-from-{start_date}-to-{end_date}.csv"
|
||||
expected_filename = f"domain-growth-report-{start_date}-to-{end_date}.csv"
|
||||
self.assertIn(f'attachment; filename="{expected_filename}"', response["Content-Disposition"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue