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

test_advanced_search.py needs updating for ConfigManager collection changes #9723

Open
john-dupuy opened this issue Dec 4, 2019 · 1 comment

Comments

@john-dupuy
Copy link
Contributor

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.

@psimovec
Copy link
Contributor

#9664 I should work on this PR in 1/2 weeks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants