def __init__(self, settings_obj):
settings_obj.REST_EMAIL_AUTH = copy.deepcopy(<EOL>settings_obj.REST_EMAIL_AUTH<EOL>)<EOL>self.__dict__["<STR_LIT>"] = settings_obj<EOL>self.__dict__["<STR_LIT>"] = copy.deepcopy(settings_obj.REST_EMAIL_AUTH)<EOL>
Create a new mutable settings instance.

This is done by making a copy of the REST_EMAIL_AUTH
configuration dictionary. Since the settings fixture is rolled
back at the end of each test, it sees that we changed the
dictionary reference and points it back to the original.

Args:
    settings_obj:
        The object through which Django's settings are
        accessible. We rely on the fact that this object is
        rolled back after each test.