CivicSpleen / ambry

A comprehensive data package manager
BSD 2-Clause "Simplified" License
4 stars 5 forks source link

Encryption broken test with 'AssertionError: 'foobar' is not None' error. #178

Open nmb10 opened 8 years ago

nmb10 commented 8 years ago
py.test test/functional/test_accounts.py::Test --verbose --capture=no
def test_encryption(self):
    a = Account(major_type='ambry')
    a.secret_password = 'secret'
    a.encrypt_secret('foobar')
>  self.assertIsNone(a.decrypt_secret())
E       AssertionError: 'foobar' is not None