mirror of
https://github.com/ansible/awx.git
synced 2026-07-04 12:58:02 -02:30
Update unit tests to manage zeromq based tasks
This commit is contained in:
@@ -991,7 +991,12 @@ class InventoryUpdatesTest(BaseTransactionTest):
|
||||
self.group = self.inventory.groups.create(name='Cloud Group')
|
||||
self.inventory2 = self.organization.inventories.create(name='Cloud Inventory 2')
|
||||
self.group2 = self.inventory2.groups.create(name='Cloud Group 2')
|
||||
self.start_queue(settings.CALLBACK_CONSUMER_PORT, settings.CALLBACK_QUEUE_PORT)
|
||||
|
||||
def tearDown(self):
|
||||
super(InventoryUpdatesTest, self).tearDown()
|
||||
self.terminate_queue()
|
||||
|
||||
def update_inventory_source(self, group, **kwargs):
|
||||
inventory_source = group.inventory_source
|
||||
update_fields = []
|
||||
|
||||
Reference in New Issue
Block a user