@classmethod
def login(cls, **kwargs):
    email = kwargs.get('email', cls.user.email)
    password = kwargs.get('password', cls.password)
    data = {'email': email, 'password': password}
    cls.client.post(url_for('auth.login_POST'), data=data)
    cls.logged_in = ((cls.user.email == email) and (cls.password == password))
@classmethod
def login(cls, **kwargs):
    email = kwargs.get('email', cls.user.email)
    password = kwargs.get('password', cls.password)
    data = {'email': email, 'password': password}
    cls.client.post(url_for('auth.login_POST'), data=data)
    cls.logged_in = ((cls.user.email == email) and (cls.password == password))