Skip to content

Commit

Permalink
feat(tests): Add testretry simple test case
Browse files Browse the repository at this point in the history
Add relevant entry to test file

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
  • Loading branch information
nuclearcat committed Sep 12, 2024
1 parent 719f294 commit 2ff88ea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_kcidev.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,13 @@ def test_kcidev_patch_help():
print("#### stderr ####")
print(result.stderr)
assert result.returncode == 0

def test_kcidev_testretry_help():
command = ["poetry", "run", "kci-dev", "testretry", "--help"]
result = run(command, stdout=PIPE, stderr=PIPE, universal_newlines=True)
print("returncode: " + str(result.returncode))
print("#### stdout ####")
print(result.stdout)
print("#### stderr ####")
print(result.stderr)
assert result.returncode == 0

0 comments on commit 2ff88ea

Please sign in to comment.