Skip to content

Commit

Permalink
STY: Black
Browse files Browse the repository at this point in the history
  • Loading branch information
khalford committed Nov 14, 2024
1 parent ca691ba commit 5b18672
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
@patch("main.os")
def test_main(mock_os, mock_compare_app, mock_compare_compose):
"""Test the main method runs correctly."""
mock_os.environ.get.side_effect = [Path("app"), Path("compose"), Path("workspace"), []]
mock_os.environ.get.side_effect = [
Path("app"),
Path("compose"),
Path("workspace"),
[],
]

with patch("builtins.open", mock_open(read_data="1.0.0")):
main()
Expand Down

0 comments on commit 5b18672

Please sign in to comment.