code: def test_cleanup(self):
      test_name = "foobar"
      test_description = "test model"
      self.project_command.parse(
          [
              "init",
              "--name",
              test_name,
              "--description",
              test_description,
          ]
      )
  
      @self.project_command.cli_helper.input("\n")
      def dummy(self):
          return self.project_command.execute()
  
      _ = dummy(self)
  
      self.project_command.parse(["cleanup"])
  
      @self.project_command.cli_helper.input("y\n\n")
      def dummy(self):
          return self.project_command.execute()
  
      result = dummy(self)
      assert not os.path.exists(os.path.join(self.temp_dir, ".datmo"))
      assert isinstance(result, bool)
      assert result
  
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import os
  import tempfile
  import platform
  import timeout_decorator
  from datmo.config import Config
  from datmo import __version__
  from datmo.cli.driver.helper import Helper
  from datmo.cli.command.project import ProjectCommand
  from datmo.cli.command.snapshot import SnapshotCommand
  from datmo.core.entity.snapshot import Snapshot
  from datmo.cli.command.run import RunCommand
  from datmo.core.controller.task import TaskController
  from datmo.core.util.exceptions import UnrecognizedCLIArgument
  from datmo.core.util.misc_functions import pytest_docker_environment_failed_instantiation
label_desc: Use image node_id 19 for calling the TestProjectCommand obj's underlying member method code with example usage: obj.test_cleanup() and returns: self, self