Report generated on 29-Aug-2022 at 11:12:14 by pytest-html v3.1.1
Packages | {"pluggy": "0.13.1", "py": "1.10.0", "pytest": "6.2.2"} |
Platform | Linux-5.15.0-46-generic-x86_64-with-glibc2.29 |
Plugins | {"ansible-playbook": "0.4.1", "html": "3.1.1", "metadata": "2.0.1", "testinfra": "5.0.0"} |
Python | 3.8.10 |
0 tests ran in 0.08 seconds.
(Un)check the boxes to filter the results.
0 passed, 0 skipped, 0 failed, 1 errors, 0 expected failures, 0 unexpected passesResult | Test | Duration | Links |
---|---|---|---|
No results found. Try to check the filters | |||
Error | tests/end_to_end/test_basic_cases/test_windows_defender/test_windows_defender.py::test_windows_defender[detect_windows_defender_disable]::setup | 0.00 | |
request = <SubRequest 'validate_environments' for <Function test_windows_defender[detect_windows_defender_disable]>> @pytest.fixture(scope='session', autouse=True) def validate_environments(request): """Fixture with session scope to validate the environments before run the E2E tests. This phase is divided into 4 steps: Step 1: Collect the data related to the selected tests that will be executed. Step 2: Generate a playbook containing cross-checks for selected tests. Step 3: Run the generated playbook. Args: request (fixture): Gives access to the requesting test context. """ collected_items = request.session.items roles_path = request.config.getoption('--roles-path') inventory_path = request.config.getoption('--inventory_path') playbook_generator = os.path.join(suite_path, 'data', 'validation_playbooks', 'generate_general_play.yaml') playbook_template = os.path.join(suite_path, 'data', 'validation_templates', 'general_validation.j2') general_playbook = os.path.join(suite_path, 'data', 'validation_playbooks', 'general_validation.yaml') if not inventory_path: > raise ValueError('Inventory not specified') E ValueError: Inventory not specified tests/end_to_end/conftest.py:57: ValueError |