Skip to content

Commit

Permalink
Added much better tests, part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
DemonicSavage committed Jan 19, 2024
1 parent b111b07 commit 1960f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ def test_config_initialization_with_invalid_file(config_file, capsys):

def test_config_initialization_with_invalid_initial_config(config_file, capsys, mocker):
mocker.patch("builtins.input", side_effect=ValueError())
config = Config(config_file)
Config(config_file)
captured = capsys.readouterr()
assert "Error occurred while creating the initial configuration" in captured.out

0 comments on commit 1960f87

Please sign in to comment.