add linked status indicator for scm inventory project updates

Signed-off-by: Jake McDermott <yo@jakemcdermott.me>
This commit is contained in:
Jake McDermott
2019-01-23 15:58:46 -05:00
parent 4c8f4f4cc5
commit 477c5df022
7 changed files with 119 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ class TestInventoryInventorySourcesUpdate:
with mocker.patch.object(InventoryInventorySourcesUpdate, 'get_object', return_value=obj):
with mocker.patch.object(InventoryInventorySourcesUpdate, 'get_serializer_context', return_value=None):
with mocker.patch('awx.api.views.InventoryUpdateSerializer') as serializer_class:
with mocker.patch('awx.api.views.InventoryUpdateDetailSerializer') as serializer_class:
serializer = serializer_class.return_value
serializer.to_representation.return_value = {}