Skip to content

Commit

Permalink
test: fix test case for truthy version
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele-Tentoni committed Feb 23, 2022
1 parent 6795d7a commit 6eed196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/project_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_version(version: MagicMock, project: Project):
"""Test right version provided from runner."""
version.return_value = '1.0.0'
ver = project.version()
assert not ver
assert ver

@patch('cc_codechecker.runners.bash.Bash.run')
@patch('cc_codechecker.project.Project.version')
Expand Down

0 comments on commit 6eed196

Please sign in to comment.