Skip to content

Commit

Permalink
Update test_detail.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed May 25, 2023
1 parent f7204da commit 09cb8b8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/test_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,20 @@
def test_detail_process(capfd):
detail_process("not_existing_id")
output, err = capfd.readouterr()
logger.info("stdout_output"+output)
logger.info("stderr_output"+err)
logger.debug("stdout_output"+output)
assert "No process found with id: not_existing_id" in output


def test_detail_workflow(capfd):
detail_workflow("not_existing_id")
output, err = capfd.readouterr()
logger.info("stdout_output"+output)
logger.info("stderr_output"+err)
logger.debug("stdout_output"+output)
assert "No workflow found with id: not_existing_id" in output


def test_detail_host(capfd):
detail_host("not_existing_id")
output, err = capfd.readouterr()
logger.info("stdout_output"+output)
logger.info("stderr_output"+err)
logger.debug("stdout_output"+output)
assert "No host found with id: not_existing_id" in output

0 comments on commit 09cb8b8

Please sign in to comment.