def _date_to_datetime(value):
  assert isinstance(value, datetime.date)
  return datetime.datetime(value.year, value.month, value.day)
Method which asserts that the common ST2 environment variables are present in the provided
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/db/__init__.py/_date_to_datetime--crossover with--dataset/ETHPy150Open StackStorm/st2/st2actions/tests/unit/base.py/RunnerTestCase.assertCommonSt2EnvVarsAvailableInEnv