mirror of
https://github.com/ansible/awx.git
synced 2026-06-22 07:07:47 -02:30
Fix up unit tests after tower to controller rename
This commit is contained in:
committed by
Shane McDonald
parent
b64c2d6861
commit
8c1bc97c2f
@@ -104,7 +104,7 @@ class TestActiveCount:
|
||||
|
||||
def test_active_count_minus_tower(self, inventory):
|
||||
inventory.hosts.create(name='locally-managed-host')
|
||||
source = inventory.inventory_sources.create(name='tower-source', source='tower')
|
||||
source = inventory.inventory_sources.create(name='tower-source', source='controller')
|
||||
source.hosts.create(name='remotely-managed-host', inventory=inventory)
|
||||
assert Host.objects.active_count() == 1
|
||||
|
||||
@@ -210,7 +210,7 @@ class TestInventorySourceInjectors:
|
||||
('rhv', 'ovirt.ovirt.ovirt'),
|
||||
('satellite6', 'theforeman.foreman.foreman'),
|
||||
('insights', 'redhatinsights.insights.insights'),
|
||||
('tower', 'awx.awx.tower'),
|
||||
('controller', 'awx.awx.tower'),
|
||||
],
|
||||
)
|
||||
def test_plugin_proper_names(self, source, proper_name):
|
||||
|
||||
Reference in New Issue
Block a user