def test_inequality(): userA = UserListEntry("a") userB = UserListEntry("b") assert userA != userB, "inequality test failed"
def test_greater(): userA = UserListEntry("~a") userB = UserListEntry("%a") assert userA > userB, "greater than test failed"
def test_equal(): userA = UserListEntry("%a") userB = UserListEntry("%a") assert userA == userB, "equality test failed"
def test_less(): userA = UserListEntry("@a") userB = UserListEntry("b") assert userA < userB, "less than test failed"
def test_inequality(self): userA = UserListEntry("a") userB = UserListEntry("b") self.assertNotEqual(userA, userB)
def test_equal(self): userA = UserListEntry("%a") userB = UserListEntry("%a") self.assertTrue(userA == userB)
def test_greater(self): userA = UserListEntry("~a") userB = UserListEntry("%a") self.assertTrue(userA > userB)
def test_less(self): userA = UserListEntry("@a") userB = UserListEntry("b") self.assertTrue(userA < userB)