'Performs any pre-test setup. This includes:
* Flushing the database.
* If the Test Case class has a \'fixtures\' member, installing the
named fixtures.
* If the Test Case class has a \'urls\' member, replace the
ROOT_URLCONF with it.
* Clearing the mail test outbox.'

def _pre_setup(self):

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