Skip to content

Commit 8351a1c

Browse files
committed
Updates a test to accommodate for strings.
1 parent 4ac00ca commit 8351a1c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/unit/test_external_config.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,11 @@ def test_source_column_match_valid_input(self):
935935
result = ec.source_column_match
936936
self.assertEqual(expected, result)
937937

938+
ec.source_column_match = "POSITION"
939+
expected = "POSITION"
940+
result = ec.source_column_match
941+
self.assertEqual(expected, result)
942+
938943
def test_source_column_match_invalid_input(self):
939944
ec = external_config.CSVOptions()
940945
with self.assertRaisesRegex(

0 commit comments

Comments
 (0)