Skip to content

Commit

Permalink
coalaJSONTest: Revert wrong variable usage
Browse files Browse the repository at this point in the history
Revert the change from commit 07092f2
which mistakenly change a constant exit code value assertion when
running coala with VersionConflict error with TEST_BEARS_COUNT
constant.

Fixes coala#4551
  • Loading branch information
adhikasp committed Jul 24, 2017
1 parent 4de7378 commit 53d6f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/coalaJSONTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_version_conflict_in_collecting_bears(self, import_fn, _):
import_fn.side_effect = VersionConflict('msg1', 'msg2')
retval, stdout, stderr = execute_coala(
coala.main, 'coala', '--json', '-B')
self.assertEqual(retval, TEST_BEARS_COUNT)
self.assertEqual(retval, 13)

def test_text_logs(self):
retval, stdout, stderr = execute_coala(
Expand Down

0 comments on commit 53d6f50

Please sign in to comment.