Merge pull request #7222 from rooftopcellist/inventory_update_not_manual

Inventory Update All no longer includes manual sources
This commit is contained in:
Christian Adams
2017-07-21 13:04:14 -04:00
committed by GitHub
2 changed files with 7 additions and 6 deletions

View File

@@ -112,7 +112,10 @@ class TestInventoryInventorySourcesUpdate:
return [InventorySource(pk=1, source=is_source, source_project=Project,
update_on_project_update=is_up_on_proj,
can_update=can_update, update=lambda:InventoryUpdate)]
def exclude(self, **kwargs):
return self.all()
Inventory = namedtuple('Inventory', ['inventory_sources'])
obj = Inventory(inventory_sources=InventorySources())