mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 18:22:37 -04:00
Fix test
This commit is contained in:
@@ -679,7 +679,7 @@ def test_should_show_redirect_from_template_history(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@freeze_time("2017-1-1 12:00") # Switching to calendar year
|
@freeze_time("2017-01-01 12:00")
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"extra_args",
|
"extra_args",
|
||||||
[
|
[
|
||||||
@@ -705,6 +705,7 @@ def test_should_show_monthly_breakdown_of_template_usage(
|
|||||||
)
|
)
|
||||||
|
|
||||||
assert len(table_rows) == len(["January"])
|
assert len(table_rows) == len(["January"])
|
||||||
|
# October is the only month with data, thus it's not in the list.
|
||||||
assert len(page.select(".table-no-data")) == len(
|
assert len(page.select(".table-no-data")) == len(
|
||||||
[
|
[
|
||||||
"January",
|
"January",
|
||||||
@@ -716,8 +717,8 @@ def test_should_show_monthly_breakdown_of_template_usage(
|
|||||||
"July",
|
"July",
|
||||||
"August",
|
"August",
|
||||||
"September",
|
"September",
|
||||||
"October",
|
|
||||||
"November",
|
"November",
|
||||||
|
"December",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user