mirror of
https://github.com/ansible/awx.git
synced 2026-09-04 19:08:30 -02:30
Introduce distinct controlplane instance group
This commit is contained in:
@@ -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='default')
|
||||
source = inventory.inventory_sources.create(name='tower-source', source='tower')
|
||||
source.hosts.create(name='remotely-managed-host', inventory=inventory)
|
||||
assert Host.objects.active_count() == 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user