summaryrefslogtreecommitdiffstats
path: root/qa/test_named_rules.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-19 14:52:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-19 14:53:01 +0000
commitf3b6c222fb11c96e2f8bbaa0622f46c8ec486874 (patch)
tree0f38497775e27d3e16b20573b36dd22aa5b24f3e /qa/test_named_rules.py
parentReleasing debian version 0.17.0-1. (diff)
downloadgitlint-f3b6c222fb11c96e2f8bbaa0622f46c8ec486874.tar.xz
gitlint-f3b6c222fb11c96e2f8bbaa0622f46c8ec486874.zip
Merging upstream version 0.18.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'qa/test_named_rules.py')
-rw-r--r--qa/test_named_rules.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/qa/test_named_rules.py b/qa/test_named_rules.py
index 92e968b..75cd9a1 100644
--- a/qa/test_named_rules.py
+++ b/qa/test_named_rules.py
@@ -1,10 +1,9 @@
-# -*- coding: utf-8 -*-
from qa.shell import gitlint
from qa.base import BaseTestCase
class NamedRuleTests(BaseTestCase):
- """ Integration tests for named rules."""
+ """Integration tests for named rules."""
def test_named_rule(self):
commit_msg = "WIP: thåt dûr bår\n\nSïmple commit body"
@@ -18,6 +17,7 @@ class NamedRuleTests(BaseTestCase):
self.create_simple_commit(commit_msg)
config_path = self.get_sample_path("config/named-user-rules")
extra_path = self.get_sample_path("user_rules/extra")
- output = gitlint("--extra-path", extra_path, "--config", config_path, _cwd=self.tmp_git_repo, _tty_in=True,
- _ok_code=[9])
+ output = gitlint(
+ "--extra-path", extra_path, "--config", config_path, _cwd=self.tmp_git_repo, _tty_in=True, _ok_code=[9]
+ )
self.assertEqualStdout(output, self.get_expected("test_named_rules/test_named_user_rule_1"))