diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-04-19 13:27:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-04-19 13:27:09 +0000 |
commit | 643bc3635e75121826fb878f46ca540ce210bace (patch) | |
tree | df410cfc4a0c1c67068d40f4d10c8ca5574a4b1c /qa/test_hooks.py | |
parent | Adding upstream version 0.15.0. (diff) | |
download | gitlint-643bc3635e75121826fb878f46ca540ce210bace.tar.xz gitlint-643bc3635e75121826fb878f46ca540ce210bace.zip |
Adding upstream version 0.15.1.upstream/0.15.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | qa/test_hooks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/test_hooks.py b/qa/test_hooks.py index 80ccbf6..32abcb0 100644 --- a/qa/test_hooks.py +++ b/qa/test_hooks.py @@ -14,7 +14,7 @@ class HookTests(BaseTestCase): u'2: B4 Second line is not empty: "Contënt on the second line"\n', '3: B6 Body message is missing\n', '-----------------------------------------------\n', - 'gitlint: \x1b[31mYour commit message contains the above violations.\x1b[0m\n'] + 'gitlint: \x1b[31mYour commit message contains violations.\x1b[0m\n'] def setUp(self): self.responses = [] @@ -48,7 +48,7 @@ class HookTests(BaseTestCase): def _interact(self, line, stdin): self.githook_output.append(line) # Answer 'yes' to question to keep violating commit-msg - if "Your commit message contains the above violations" in line: + if "Your commit message contains violations" in line: response = self.responses[self.response_index] stdin.put(f"{response}\n") self.response_index = (self.response_index + 1) % len(self.responses) |