'Performs any pre-test setup. This includes:
* Creating a test client.
* If the class has a \'urls\' attribute, replace ROOT_URLCONF with it.
* Clearing the mail test outbox.'

def _pre_setup(self):

    self.client = self.client_class()
    self._urlconf_setup()
    mail.outbox = []
