Пример #1
0
def test_hasher():
    assert 'CBEB' == hash_password('test')
Пример #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
Пример #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
Пример #4
0
def test_hasher():
    assert 'CBEB' == hash_password('test')
Пример #5
0
def test_hasher():
    eq_("CBEB", hash_password("test"))
Пример #6
0
def test_hasher():
    eq_('CBEB', hash_password('test'))
Пример #7
0
def test_hasher():
    eq_('CBEB', hash_password('test'))