def test_nonempty_firstname_valid(self): firstname = "aviel" usr = User("testing", firstname, "aaa", "Aa123456!", 1, 1, 1) assert usr.validateUser() == ""
def test_username_numbers_and_letters_valid(self): username = "******" usr = User(username, "aaa", "aaa", "Aa123456!", 1, 1, 1) assert usr.validateUser() == ""
def test_username_special_chars_invalid(self): username = "******" usr = User(username, "aaa", "aaa", "Aa123456!", 1, 1, 1) assert usr.validateUser() != ""
def test_username_numbers_only_valid(self): username = "******" usr = User(username, "aaa", "aaa", "Aa123456!", 1, 1, 1) assert usr.validateUser() == ""