From de139943d8272773b5f19ed824d687b0232b9ba3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 11 Mar 2023 09:03:03 +0100 Subject: Adding upstream version 0.19.1. Signed-off-by: Daniel Baumann --- qa/test_user_defined.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'qa/test_user_defined.py') 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): -- cgit v1.2.3