Skip to content

Commit

Permalink
Fixed retrieve hass test UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
davidusb-geek committed Jul 5, 2024
1 parent 3fee7a9 commit bbb8d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_retrieve_hass.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_prepare_data(self):
self.assertEqual(len(self.rh.df_final.columns), len(self.var_list))
self.assertEqual(self.rh.df_final.index.isin(self.days_list).sum(), len(self.days_list))
self.assertEqual(self.rh.df_final.index.freq, self.retrieve_hass_conf['freq'])
self.assertEqual(self.rh.df_final.index.tz, pytz.UTC)
self.assertEqual(self.rh.df_final.index.tz, datetime.timezone.utc)
self.rh.prepare_data(self.retrieve_hass_conf['var_load'],
load_negative = self.retrieve_hass_conf['load_negative'],
set_zero_min = self.retrieve_hass_conf['set_zero_min'],
Expand Down

0 comments on commit bbb8d57

Please sign in to comment.