def test_plain_check(self): from repoze.who.plugins.htpasswd import plain_check self.failUnless(plain_check('password', 'password')) self.failIf(plain_check('notpassword', 'password'))
def test_plain_check(self): from repoze.who.plugins.htpasswd import plain_check self.failUnless(plain_check("password", "password")) self.failIf(plain_check("notpassword", "password"))
def test_plain_check(self): from repoze.who.plugins.htpasswd import plain_check self.assertTrue(plain_check('password', 'password')) self.assertFalse(plain_check('notpassword', 'password'))
def test_plain_check(self): from repoze.who.plugins.htpasswd import plain_check self.assertTrue(plain_check("password", "password")) self.assertFalse(plain_check("notpassword", "password"))