Skip to content

Commit

Permalink
tests: make test more robust (sometimes call_count is three but act…
Browse files Browse the repository at this point in the history
…ually the exact number is not relevant for the test)
  • Loading branch information
radoering committed May 27, 2024
1 parent b32a260 commit 49c7cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/console/test_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_application_verify_cache_flag_at_install(

tester.execute(command)

assert spy.call_count == 2
assert spy.call_count > 0
for call in spy.mock_calls:
(name, args, kwargs) = call
assert "disable_cache" in kwargs

Check failure on line 135 in tests/console/test_application.py

View workflow job for this annotation

GitHub Actions / Ubuntu (Python 3.12) / pytest

test_application_verify_cache_flag_at_install[True] AssertionError: assert 'disable_cache' in {}
Expand Down

0 comments on commit 49c7cdd

Please sign in to comment.