def test_unlocking_with_incorrect_password(self): key = EncryptionKey(**self.example_data) unlock_result = key.unlock(password="******") self.assertFalse(unlock_result)
def test_unlocking_with_incorrect_password(self): key = EncryptionKey(**self.example_data) unlock_result = key.unlock(password="******") self.assertFalse(unlock_result)
def test_unlocking_with_correct_password(self): key = EncryptionKey(**self.example_data) unlock_result = key.unlock(password="******") self.assertTrue(unlock_result)
def test_unlocking_with_correct_password(self): key = EncryptionKey(**self.example_data) unlock_result = key.unlock(password="******") self.assertTrue(unlock_result)