code: def test_update_environment(self):
      environment = self.dal.environment.create(
          Environment(self.environment_input_dict)
      )
  
      # Update required and optional parameters
      updated_environment_input_dict = (
          self.environment_input_dict.copy()
      )
      updated_environment_input_dict["id"] = environment.id
      updated_environment_input_dict["driver_type"] = "new_driver"
      updated_environment_input_dict["created_at"] = datetime.utcnow()
      updated_environment = self.dal.environment.update(
          updated_environment_input_dict
      )
      assert environment.id == updated_environment.id
      assert environment.updated_at < updated_environment.updated_at
      assert (
          updated_environment.driver_type
          == updated_environment_input_dict["driver_type"]
      )
      assert (
          updated_environment.created_at
          == updated_environment_input_dict["created_at"]
      )
  
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 7 for calling the TestLocalDAL obj's underlying member method code with example usage: obj.test_update_environment() without return types