diff options
Diffstat (limited to 'qa/test_user_defined.py')
-rw-r--r-- | qa/test_user_defined.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qa/test_user_defined.py b/qa/test_user_defined.py index a003f3e..718766c 100644 --- a/qa/test_user_defined.py +++ b/qa/test_user_defined.py @@ -1,6 +1,5 @@ -# pylint: disable=too-many-function-args,unexpected-keyword-arg -from qa.shell import gitlint from qa.base import BaseTestCase +from qa.shell import gitlint class UserDefinedRuleTests(BaseTestCase): @@ -19,7 +18,7 @@ class UserDefinedRuleTests(BaseTestCase): extra_path = self.get_example_path() commit_msg = "Release: Thi$ is å title\nContent on the second line\n$This line is ignored \nThis isn't\t\n" self.create_simple_commit(commit_msg) - output = gitlint("--extra-path", extra_path, _cwd=self.tmp_git_repo, _tty_in=True, _ok_code=[4]) + output = gitlint("--extra-path", extra_path, _cwd=self.tmp_git_repo, _tty_in=True, _ok_code=[5]) self.assertEqualStdout(output, self.get_expected("test_user_defined/test_user_defined_rules_examples_2")) def test_user_defined_rules_examples_with_config(self): |