Skip to content

Commit

Permalink
Merge pull request #6 from AdamFinkle/add_greenbutton
Browse files Browse the repository at this point in the history
Updated test to expect UTC datetimes.
  • Loading branch information
AdamFinkle authored Jul 11, 2024
2 parents 7626572 + 325d488 commit cbfb052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules-engine/tests/test_rules_engine/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def _validate_gas_bill_xml(result):
assert isinstance(row, NaturalGasBillingRecordInput)

second_row = result.records[1]
assert second_row.period_start_date == date(2021, 6, 29)
assert second_row.period_end_date == date(2021, 7, 27)
assert second_row.period_start_date == date(2021, 6, 30)
assert second_row.period_end_date == date(2021, 7, 28)
assert isinstance(second_row.usage_therms, float)
assert second_row.usage_therms == 14
assert second_row.inclusion_override == None
Expand Down

0 comments on commit cbfb052

Please sign in to comment.