def test_new_user(new_user):
    '\n    GIVEN a User model\n    WHEN a new User is created\n    THEN check the username and birthday fields are defined correctly\n    '
    assert (new_user.name == 'test')
    assert (new_user.birthday == date(day=1, month=12, year=1989))
GIVEN a User model
WHEN a new User is created
THEN check the username and birthday fields are defined correctly
def test_new_user(new_user):
    '\n    GIVEN a User model\n    WHEN a new User is created\n    THEN check the username and birthday fields are defined correctly\n    '
    assert (new_user.name == 'test')
    assert (new_user.birthday == date(day=1, month=12, year=1989))