We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8b1463 commit 2c45ba7Copy full SHA for 2c45ba7
test/test_utils.py
@@ -50,6 +50,13 @@ def test_gen_co_author():
50
if not arg2 == '':
51
raise AssertionError()
52
53
+
54
+def test_debug(capsys):
55
+ utils.debug('msg', 666, show=True)
56
+ captured = capsys.readouterr()
57
+ if not captured.out == "DEBUG-> msg: 666\n":
58
+ raise AssertionError()
59
60
# FIXME
61
# def test_create_file(tmpdir):
62
# test_file = tmpdir.mkdir('test').join('commiter.yml')
utils.py
@@ -37,7 +37,7 @@ def gen_co_author(co_author):
37
return "\nCo-authored-by: %s" % co_author
38
39
40
-def create_file(convention_name, dont_create=False):
+def create_file(convention_name, dont_create=False): # pragma: no cover
41
if not dont_create:
42
data = dict(
43
convention=convention_name
0 commit comments