Removed a test

This commit is contained in:
Konsta Vesterinen
2013-07-29 22:08:24 +03:00
parent 47bed97c5e
commit 22f7be96f5

View File

@@ -67,15 +67,3 @@ class TestPasswordType(TestCase):
assert obj.password.hash.startswith('$1$')
assert obj.password == 'b'
assert obj.password.hash.startswith('$pbkdf2-sha512$')
def test_comparator(self):
from passlib.hash import md5_crypt
obj = self.User()
obj.password = Password(md5_crypt.encrypt('b'))
assert (
self.session.query(self.User)
.filter(self.User.password == 'b')
.first()
)