Skip to content
This repository was archived by the owner on Apr 7, 2022. It is now read-only.
This repository was archived by the owner on Apr 7, 2022. It is now read-only.

test_advanced_search.py needs updating for ConfigManager collection changes  #9723

@john-dupuy

Description

@john-dupuy

The tests in:

@inject_tests
class TestAnsibleTower(object):
params_values = [
SearchParam('ansible_tower_providers', 'All', 'ansible_tower_explorer_provider',
'Automation Manager (Ansible Tower) : Name',
('sidebar.providers', 'All Ansible Tower Providers')),
SearchParam('ansible_tower_systems', 'All', 'ansible_tower_explorer_system',
'Configured System (Ansible Tower) : Hostname',
('sidebar.configured_systems', 'All Ansible Tower Configured Systems')),
SearchParam('ansible_tower_job_templates', 'All', 'ansible_tower_explorer_job_templates',
'Job Template (Ansible Tower) : Name',
('sidebar.job_templates', 'All Ansible Tower Job Templates')),
SearchParam('ansible_tower_jobs', 'All', 'ansible_tower_jobs',
'Ansible Tower Job : Name', None)]
pytestmark = base_pytestmarks(params_values)

@inject_tests
class TestConfigManagement(object):
params_values = [
SearchParam(ConfigManager, 'All', 'configuration_management',
'Configuration Manager : Name',
('sidebar.providers', "All Configuration Management Providers")),
SearchParam(ConfigSystem, 'All', 'configuration_management_systems',
'Configured System (Red Hat Satellite) : Hostname',
('sidebar.configured_systems', "All Configured Systems")),
]
pytestmark = base_pytestmarks(params_values)

Will soon be broken due to the collection changes incoming in #9317. Leaving the refactor of these tests to @psimovec. They will be blocked until then.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions