diff --git a/monkeysign/tests/test_network.py b/monkeysign/tests/test_network.py index b082fb5ef1dc637c74bf1ef07be5b7f5377501b2..b7f8d1fa951cb0b56ab70d6d816ff95e87d65774 100755 --- a/monkeysign/tests/test_network.py +++ b/monkeysign/tests/test_network.py @@ -29,7 +29,7 @@ import sys sys.path.insert(0, os.path.dirname(__file__) + '/../..') from monkeysign.gpg import TempKeyring -from test_lib import TestTimeLimit, AlarmException, find_test_file, skipUnlessNetwork +from test_lib import TestTimeLimit, AlarmException, find_test_file, skipUnlessNetwork, skipIfDatePassed @skipUnlessNetwork() @@ -52,6 +52,7 @@ the network forever""" except AlarmException: raise unittest.case._ExpectedFailure(sys.exc_info()) + @skipIfDatePassed('2017-02-25T00:00:00UTC') def test_special_key(self): """test a key that sign_key had trouble with""" self.assertTrue(self.gpg.import_data(open(find_test_file('96F47C6A.asc')).read()))