Skip to content

Commit

Permalink
add check for data values for every header
Browse files Browse the repository at this point in the history
  • Loading branch information
naomiGrew committed Jul 12, 2023
1 parent 7752832 commit 4c0cc48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rebench/tests/persistency_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,11 @@ def test_check_file_lines(self):
self.assertTrue(self.is_valid_json(json_code))
json_code = self.get_line_after_char('Source:', lines[3])
self.assertTrue(self.is_valid_json(json_code))
line = lines[4].strip().split()
line = lines[4].split("\t")
line[-1] = line[-1].rstrip('\n')
words = Measurement.get_column_headers()
self.assertEqual(line, words)
self.assertEqual(len((lines[5]).split("\t")) ,len(line))

def get_line_after_char(self, char, line):
if char in line:
Expand Down

0 comments on commit 4c0cc48

Please sign in to comment.