'Create dop access token for given user if user provided else for default user.'

def _create_dop_tokens(self, user=None):

    if (not user):
        user = User.objects.get(email=self.OLD_EMAIL)
    client = ClientFactory()
    access_token = AccessTokenFactory(user=user, client=client)
    RefreshTokenFactory(user=user, client=client, access_token=access_token)
