def test_do_md_namespace_delete(self): args = self._make_args({'namespace': 'MyNamespace', 'content': False}) with mock.patch.object(self.gc.metadefs_namespace, 'delete') as \ mocked_delete: test_shell.do_md_namespace_delete(self.gc, args) mocked_delete.assert_called_once_with('MyNamespace')
def test_do_md_namespace_delete(self): args = self._make_args({"namespace": "MyNamespace", "content": False}) with mock.patch.object(self.gc.metadefs_namespace, "delete") as mocked_delete: test_shell.do_md_namespace_delete(self.gc, args) mocked_delete.assert_called_once_with("MyNamespace")