code: def test_delete_environment(self):
      environment = self.dal.environment.create(
          Environment(self.environment_input_dict)
      )
  
      self.dal.environment.delete(environment.id)
      deleted = False
      try:
          self.dal.environment.get_by_id(environment.id)
      except EntityNotFound:
          deleted = True
      assert deleted
  
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import os
  import tempfile
  import platform
  from datetime import datetime
  from datmo.core.storage.driver.blitzdb_dal_driver import BlitzDBDALDriver
  from datmo.core.storage.local.dal import LocalDAL
  from datmo.core.entity.model import Model
  from datmo.core.entity.environment import Environment
  from datmo.core.util.exceptions import EntityNotFound, InvalidArgumentType
label_desc: Use image node_id 8 for calling the TestLocalDAL obj's underlying member method code with example usage: obj.test_delete_environment() without return types