Complete consolidation of the label views

This commit is contained in:
Alan Rominger
2022-09-15 11:00:20 -04:00
parent a528a78e0e
commit ef90adb67e
6 changed files with 80 additions and 100 deletions

View File

@@ -59,7 +59,7 @@ class TestApiRootView:
class TestJobTemplateLabelList:
def test_inherited_mixin_unattach(self):
with mock.patch('awx.api.generics.DeleteLastUnattachLabelMixin.unattach') as mixin_unattach:
with mock.patch('awx.api.views.labels.LabelSubListCreateAttachDetachView.unattach') as mixin_unattach:
view = JobTemplateLabelList()
mock_request = mock.MagicMock()