Test for warnings from man (#195)

This commit is contained in:
Tim Byrne 2020-01-20 08:22:17 -06:00
parent d16f4b134a
commit 3b820835ab
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 9 additions and 0 deletions

View File

@ -54,3 +54,12 @@ def test_yamllint(pytestconfig, runner, yamllint_version):
command=['yamllint', '-s', '$(find . -name \\*.yml)'],
shell=True)
assert run.success
def test_man(runner):
"""Check for warnings from man"""
run = runner(
command=['man', '--warnings', './yadm.1'])
assert run.success
assert run.err == ''
assert 'yadm - Yet Another Dotfiles Manager' in run.out