Skip to content

Commit

Permalink
Dev: unittests: Remove duplicated test case
Browse files Browse the repository at this point in the history
  • Loading branch information
liangxin1300 committed Jan 6, 2025
1 parent 44145ae commit d0ca880
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/unittests/test_report_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,12 +791,6 @@ def test_findln_by_timestamp_1(self):
middle_timestamp = utils.get_timestamp(data_list[1], pacemaker_file_path)
last_timestamp = utils.get_timestamp(data_list[2], pacemaker_file_path)
assert first_timestamp < middle_timestamp < last_timestamp
line_stamp = crmutils.parse_to_timestamp("Jan 03 11:03:41 2024")
result_line = utils.findln_by_timestamp(data, line_stamp, pacemaker_file_path)
assert result_line == 2
line_stamp = crmutils.parse_to_timestamp("Jan 03 12:03:41 2024")
result_line = utils.findln_by_timestamp(data, line_stamp, pacemaker_file_path)
assert result_line == 3

def test_findln_by_timestamp_irregular(self):
data = """line1
Expand Down

0 comments on commit d0ca880

Please sign in to comment.