set up testing
This commit is contained in:
parent
6494c0ce58
commit
881cdf0091
2 changed files with 19 additions and 1 deletions
10
tests/test_smoke_test.py
Normal file
10
tests/test_smoke_test.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from click.testing import CliRunner
|
||||
|
||||
from xexe.cli import smoke_test
|
||||
|
||||
|
||||
def test_smoke_test():
|
||||
runner = CliRunner()
|
||||
result = runner.invoke(smoke_test)
|
||||
assert result.exit_code == 0
|
||||
assert "Oink oink!" in result.output
|
||||
Loading…
Add table
Add a link
Reference in a new issue