Klaus Demo ~jonashaag/klaus / 4576577
Fix tests on Python 2.6 Jonas Haag 6 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
00 import klaus_cli
11 import mock
2 import subprocess
2 from klaus.utils import check_output
33 import re
44
55
66 def test_covers_all_cli_options():
7 manpage = subprocess.check_output(["man", "./klaus.1"])
7 manpage = check_output(["man", "./klaus.1"])
88
99 def assert_in_manpage(s):
1010 clean = lambda x: re.sub('(.\\x08)|\s', '', x)