Skip to content

Commit

Permalink
fix: handle one_manager_env marker
Browse files Browse the repository at this point in the history
  • Loading branch information
Deblintrake09 committed Dec 19, 2023
1 parent b805ee8 commit a8b0ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def pytest_runtest_makereport(item, call):
arguments[key] = str(value)
extra.append(pytest_html.extras.json(arguments, name="Test arguments"))

if "cluster" in report.markers:
if "cluster" in report.markers and "one_manager_agent_env" not in report.markers:
host_manager = getattr(item.module, "host_manager")

for host in host_manager.get_inventory()['managers']['hosts']:
Expand Down

0 comments on commit a8b0ed9

Please sign in to comment.