Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Commit

Permalink
removed tests that are no longer valid
Browse files Browse the repository at this point in the history
  • Loading branch information
John Davison authored and John Davison committed Jan 28, 2020
1 parent 61fa40e commit 3a84b8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/saq/test_configuration.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# vim: sw=4:ts=4:et

import logging
import unittest

import saq

Expand All @@ -19,6 +20,7 @@ def test_encrypt_decrypt_delete_password(self):
self.assertEquals(delete_password('password'), 1)
self.assertIsNone(decrypt_password('password'))

@unittest.skip("no longer throws exception")
def test_no_decryption_key(self):
encrypt_password('password', 'Hello, World!')
saq.ENCRYPTION_PASSWORD = None
Expand All @@ -30,6 +32,7 @@ def test_encrypted_password_config(self):
saq.CONFIG['proxy']['password'] = 'encrypted:proxy.password'
self.assertEquals(saq.CONFIG['proxy']['password'], 'unittest')

@unittest.skip("no longer throws exception")
def test_encrypted_password_config_no_decryption_key(self):
encrypt_password('proxy.password', 'unittest')
saq.CONFIG['proxy']['password'] = 'encrypted:proxy.password'
Expand Down

0 comments on commit 3a84b8f

Please sign in to comment.