def test_do_md_property_delete(self): args = self._make_args({'namespace': 'MyNamespace', 'property': 'MyProperty'}) with mock.patch.object(self.gc.metadefs_property, 'delete') as mocked_delete: test_shell.do_md_property_delete(self.gc, args) mocked_delete.assert_called_once_with('MyNamespace', 'MyProperty')
def test_do_md_property_delete(self): args = self._make_args({"namespace": "MyNamespace", "property": "MyProperty"}) with mock.patch.object(self.gc.metadefs_property, "delete") as mocked_delete: test_shell.do_md_property_delete(self.gc, args) mocked_delete.assert_called_once_with("MyNamespace", "MyProperty")