Skip to content

Commit f108735

Browse files
author
devbisme
committed
Updated tests to account for changes in how kipart handles overwrite and merge flags and changes in output status messages.
1 parent 3171b63 commit f108735

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_kipart.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def test_kipart_cli(tmp_path):
249249
text=True,
250250
)
251251
assert result.returncode == 0
252-
assert f"Created {output_path}" in result.stdout
252+
assert f"Created symbol library {output_path}" in result.stdout
253253
assert os.path.exists(output_path)
254254

255255
# Test invalid input
@@ -642,7 +642,7 @@ def test_row_file_to_symbol_lib_file_with_merge(tmp_path):
642642
f.write(csv_content2)
643643

644644
# Update the library with overwrite=True to test merge
645-
row_file_to_symbol_lib_file(csv_path2, symbol_lib_file=output_path, overwrite=True)
645+
row_file_to_symbol_lib_file(csv_path2, symbol_lib_file=output_path, overwrite=True, merge=True)
646646

647647
# Read the resulting library
648648
with open(output_path) as f:

0 commit comments

Comments
 (0)