Commits

Moises Henriquez committed a7a262f

better use of assert test from unittest

Comments (0)

Files changed (1)

vinstall/backend/users.py

     def test_hashed_passwords(self):
 	hash1 = self.fakeuser.encrypt_password(self.fakeuser.password)
 	hash2 = self.fakeadmin.encrypt_password(self.fakeadmin.password)
-	self.assertTrue(hash1 != hash2)
+	self.assertNotEqual(hash1, hash2)
 
 
 if __name__ == '__main__':