def METHOD_NAME(self):
    self.user_repo_id = self.repo.id
    from constance import config
    self.config = config
    self.tmp_user = self.create_user(
        'user_%s@test.com' % randstring(4), is_staff=False)