Skip to content

Commit

Permalink
alter col ct assert in search_export sys vals tests, re #10787
Browse files Browse the repository at this point in the history
  • Loading branch information
whatisgalen committed Jun 26, 2024
1 parent fca0baa commit cf502e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/search/search_export_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_export_to_csv_with_system_values(self):
csv_reader = csv.DictReader(io.StringIO(csv_content))
cultural_period_column_name = self.search_model_cultural_period_nodename
for row in csv_reader:
self.assertTrue(len(row) > 1, "Expected more than one column in the output")
self.assertTrue(len(row) > 1, f"{len(row)} column(s) in csv row: {row}")
cultural_period_value = row[cultural_period_column_name]
self.assertTrue(
is_valid_uuid(cultural_period_value),
Expand All @@ -163,7 +163,7 @@ def test_export_to_csv_without_system_values(self):
csv_reader = csv.DictReader(io.StringIO(csv_content))
cultural_period_column_name = self.search_model_cultural_period_nodename
for row in csv_reader:
self.assertTrue(len(row) > 1, "Expected more than one column in the output")
self.assertTrue(len(row) > 1, f"{len(row)} columns in csv row: {row}")
cultural_period_value = row[cultural_period_column_name]
self.assertFalse(
is_valid_uuid(cultural_period_value),
Expand Down

0 comments on commit cf502e1

Please sign in to comment.