mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 14:39:30 -02:30
delete orphaned labels when jt or j deleted
This commit is contained in:
@@ -140,7 +140,7 @@ class TestDeleteLastUnattachLabelMixin:
|
||||
|
||||
super.unattach_validate.assert_called_with(mock_request, None, None)
|
||||
super.unattach_by_id.assert_called_with(mock_request, mock_sub_id)
|
||||
mock_label.is_detached.assert_called_with(mock_sub_id)
|
||||
mock_label.is_detached.assert_called_with()
|
||||
mock_label.objects.get.assert_called_with(id=mock_sub_id)
|
||||
mock_label.delete.assert_called_with()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user