Beispiel #1
0
def test_hasher():
    assert 'CBEB' == hash_password('test')
Beispiel #2
0
 def set_password(self, value='', already_hashed=False):
     """Set a password on this sheet."""
     if not already_hashed:
         value = hash_password(value)
     self._password = value
Beispiel #3
0
 def set_password(self, value='', already_hashed=False):
     """Set a password on this sheet."""
     if not already_hashed:
         value = hash_password(value)
     self._password = value
def test_hasher():
    assert 'CBEB' == hash_password('test')
def test_hasher():
    eq_("CBEB", hash_password("test"))
def test_hasher():
    eq_('CBEB', hash_password('test'))
Beispiel #7
0
def test_hasher():
    eq_('CBEB', hash_password('test'))