Fix a bug in two unittests caused by a method not having been renamed.
parent
ed2bc4d882
commit
6c87679e7e
|
@ -421,7 +421,7 @@ class GPGTestCase(unittest.TestCase):
|
||||||
def test_import_and_export(self):
|
def test_import_and_export(self):
|
||||||
"""Test that key import and export works."""
|
"""Test that key import and export works."""
|
||||||
logger.debug("test_import_and_export begins")
|
logger.debug("test_import_and_export begins")
|
||||||
self.test_list_keys_initial()
|
self.test_list_keys_initial_public()
|
||||||
gpg = self.gpg
|
gpg = self.gpg
|
||||||
result = gpg.import_keys(KEYS_TO_IMPORT)
|
result = gpg.import_keys(KEYS_TO_IMPORT)
|
||||||
self.assertEqual(result.summary(), '2 imported')
|
self.assertEqual(result.summary(), '2 imported')
|
||||||
|
@ -450,7 +450,7 @@ class GPGTestCase(unittest.TestCase):
|
||||||
def test_import_only(self):
|
def test_import_only(self):
|
||||||
"""Test that key import works."""
|
"""Test that key import works."""
|
||||||
logger.debug("test_import_only begins")
|
logger.debug("test_import_only begins")
|
||||||
self.test_list_keys_initial()
|
self.test_list_keys_initial_public()
|
||||||
self.gpg.import_keys(KEYS_TO_IMPORT)
|
self.gpg.import_keys(KEYS_TO_IMPORT)
|
||||||
public_keys = self.gpg.list_keys()
|
public_keys = self.gpg.list_keys()
|
||||||
self.assertTrue(is_list_with_len(public_keys, 2),
|
self.assertTrue(is_list_with_len(public_keys, 2),
|
||||||
|
|
Loading…
Reference in New Issue