<s> import os <EOL> from django . test import TestCase <EOL> from mock import patch <EOL> class DotEnvLoadingTests ( TestCase ) : <EOL> @ patch . dict ( os . environ , clear = True , <EOL> DJANGO_CONFIGURATION = '<STR_LIT>' , <EOL> DJANGO_SETTINGS_MODULE = '<STR_LIT>' ) <EOL> def test_env_loaded ( self ) : <EOL> from tests . settings import dot_env <EOL> self . assertEqual ( dot_env . DOTENV_VALUE , '<STR_LIT>' ) <EOL> self . assertEqual ( dot_env . DOTENV_LOADED , dot_env . DOTENV ) </s>
