Skip to content

Commit

Permalink
Silent bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
keegansmith21 committed Jun 5, 2024
1 parent 212445d commit eff8dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion observatory_platform/tests/test_date_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_pendulum_inputs(self):

def test_missing_tz(self):
inputs = ["2024-01-01 00:00:00", "2024-01-01T12:00:00", datetime(2024, 1, 1, 12, 0, 0), pendulum.datetime(2024, 1, 1, 12, 0, 0)]
expected_outputs = ["2024-01-01T00:00:00+00:00", "2024-01-01T12:00:00+00:00", "2024-01-01T12:00:00+00:00"]
expected_outputs = ["2024-01-01T00:00:00+00:00", "2024-01-01T12:00:00+00:00", "2024-01-01T12:00:00+00:00", "2024-01-01T12:00:00+00:00"]
for input, expected_output in zip(inputs, expected_outputs):
actual_output = datetime_normalise(input)
self.assertEqual(expected_output, actual_output)

0 comments on commit eff8dee

Please sign in to comment.