Skip to content

Commit 4ea216a

Browse files
committed
fix: add verbose flag to remove_line_from_file for better logging
1 parent 4af4e88 commit 4ea216a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_file_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_remove_line_from_file(self):
3636
source_file = os.path.join(mod_path, 'test_files', 'origin_remove.txt')
3737
test_file = os.path.join(mod_path, 'test_files', 'edited_remove.txt')
3838
shutil.copy(source_file, test_file)
39-
remove_line_from_file(test_file, ['REMOVE_ME', 'to be replaced!'])
39+
remove_line_from_file(test_file, ['REMOVE_ME', 'to be replaced!'], verbose=True)
4040

4141
def test_locked_file(self):
4242
"""Testing module."""

0 commit comments

Comments
 (0)