Updated tests to match the formatting work done in the admin repo

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2024-05-17 17:14:46 -04:00
parent ac4ebacfeb
commit aafa7178f9
30 changed files with 553 additions and 499 deletions

View File

@@ -5,7 +5,7 @@ from notifications_utils.timezones import utc_string_to_aware_gmt_datetime
@pytest.mark.parametrize(
"input_value,expectation",
("input_value", "expectation"),
[
("foo", pytest.raises(dateutil.parser._parser.ParserError)),
(100, pytest.raises(TypeError)),
@@ -20,7 +20,7 @@ def test_utc_string_to_aware_gmt_datetime_rejects_bad_input(input_value, expecta
@pytest.mark.parametrize(
"naive_time, expected_aware_hour",
("naive_time", "expected_aware_hour"),
[
("2000-12-1 20:01", "15:01"),
("2000-06-1 20:01", "16:01"),