Skip to content

Commit

Permalink
update test per mth5 change
Browse files Browse the repository at this point in the history
  • Loading branch information
kkappler committed Oct 2, 2024
1 parent ec0dfe4 commit 9e6c546
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/synthetic/test_metadata_values_set_correctly.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ def setUp(self):

def make_mth5(self):
close_open_files()
mth5_path = create_test3_h5(
force_make_mth5=self.remake_mth5_for_each_test
)
mth5_path = create_test3_h5(force_make_mth5=self.remake_mth5_for_each_test)
return mth5_path

def make_run_summary(self):
Expand All @@ -51,8 +49,8 @@ def test_start_times_correct(self):
run_summary.df.run == run.run_metadata.id
].iloc[0]
logger.info(summary_row.start)
logger.info(run.start)
assert summary_row.start == pd.Timestamp(run.start)
logger.info(run.run_metadata.time_period.start)
assert summary_row.start == pd.Timestamp(run.run_metadata.time_period.start)

def tearDown(self):
close_open_files()
Expand Down

0 comments on commit 9e6c546

Please sign in to comment.