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 Oct 2, 2024
1 parent 67d53e9 commit 9fe4879
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_kcidev.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@ def test_kcidev_results_help():
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


def test_kcidev_results_tests():
command = [
"poetry",
Expand Down

0 comments on commit 9fe4879

Please sign in to comment.