Source code for tests.processor.test_show
from bugscpp.command import CommandList, ShowCommand
[docs]def test_check_show_attr():
commands = CommandList()
assert "show" in commands
[docs]def test_check_show_help():
showCommand = ShowCommand()
assert showCommand.help == "Display defect taxonomies status"
[docs]def test_check_show_run(capsys):
showCommand = ShowCommand()
assert "example" not in capsys.readouterr()