def test_do_md_namespace_objects_delete(self): args = self._make_args({'namespace': 'MyNamespace'}) with mock.patch.object(self.gc.metadefs_object, 'delete_all') as mocked_delete_all: test_shell.do_md_namespace_objects_delete(self.gc, args) mocked_delete_all.assert_called_once_with('MyNamespace')
def test_do_md_namespace_objects_delete(self): args = self._make_args({"namespace": "MyNamespace"}) with mock.patch.object(self.gc.metadefs_object, "delete_all") as mocked_delete_all: test_shell.do_md_namespace_objects_delete(self.gc, args) mocked_delete_all.assert_called_once_with("MyNamespace")