'Verify that token construction succeeds if the UserProfile is missing.'

def test_user_profile_missing(self):

    self.profile.delete()
    scopes = ['profile']
    token = JwtBuilder(self.user).build_token(scopes, self.expires_in)
    self.assert_valid_jwt_access_token(token, self.user, scopes)
