Skip to content

Commit

Permalink
Tests: Improved logging in E2E. (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkeroo authored Jan 10, 2025
1 parent b93f10f commit 7821118
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/end_to_end/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def main():
f"--nn_archive_path={nn_archive_path}",
f"--platform={rvc_platform}",
"-v",
"--tb=no",
"--tb=short",
"-r a",
"--log-cli-level=DEBUG",
"--color=yes",
Expand All @@ -81,7 +81,7 @@ def main():
f"--model={model}",
f"--platform={rvc_platform}",
"-v",
"--tb=no",
"--tb=short",
"-r a",
"--log-cli-level=DEBUG",
"--color=yes",
Expand Down
2 changes: 1 addition & 1 deletion tests/end_to_end/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_pipelines(IP: str, ip_platform: str, nn_archive_path, model):
elif e.returncode == 6:
pytest.skip(f"Can't connect to the device with IP/mxid: {IP}")
elif e.returncode == 7:
pytest.skip(f"Couldn't find model {model} in the ZOO")
pytest.skip(f"Couldn't find model {model} for {ip_platform} in the ZOO")
elif e.returncode == 8:
pytest.skip(
f"The model {model} is not supported in this test. (small input size, grayscale image, etc.)"
Expand Down

0 comments on commit 7821118

Please sign in to comment.