Skip to content

Commit

Permalink
Update tests/unit_tests/test_time_series.py
Browse files Browse the repository at this point in the history
Co-authored-by: Cody Baker <[email protected]>
  • Loading branch information
alessandratrapani and CodyCBakerPhD authored Sep 26, 2023
1 parent 4a82e92 commit 2b0e425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit_tests/test_time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,9 @@ def test_check_rate_is_not_zero_single_frame_pass():


def test_check_rate_is_not_zero_timestamp_is_none_fail():
time_series = pynwb.TimeSeries(name="test", unit="test_units", data=[1, 2, 3], rate=0.0)
time_series = pynwb.TimeSeries(name="TimeSeriesTestt", unit="n.a.", data=[1, 2, 3], rate=0.0)
assert check_rate_is_not_zero(time_series) == InspectorMessage(
message=f"{time_series.name} has a sampling rate value of 0.0Hz but the series has more than one frame.",
message="TimeSeriesTest has a sampling rate value of 0.0Hz but the series has more than one frame.",
importance=Importance.BEST_PRACTICE_VIOLATION,
check_function_name="check_rate_is_not_zero",
object_type="TimeSeries",
Expand Down

0 comments on commit 2b0e425

Please sign in to comment.