Skip to content

Commit

Permalink
Merge pull request #432 from Limmen/integration_test
Browse files Browse the repository at this point in the history
cli test, all ls entities that do not need input are added.
  • Loading branch information
Limmen authored Sep 15, 2024
2 parents 978f11f + d5ab7bd commit 9fba5b5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions simulation-system/libs/csle-cli/tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,23 @@ def test_ls_emulation_executions(self) -> None:
runner = CliRunner()
result = runner.invoke(ls, ["emulation_executions"])
assert result.exit_code == 0

def test_ls_cluster(self) -> None:
"""
Tests the ls command for clsuter
:return: None
"""
runner = CliRunner()
result = runner.invoke(ls, ["cluster"])
assert result.exit_code == 0

def test_ls_images(self) -> None:
"""
Tests the ls command for images
:return: None
"""
runner = CliRunner()
result = runner.invoke(ls, ["images"])
assert result.exit_code == 0

0 comments on commit 9fba5b5

Please sign in to comment.