Add checks to test_gen_key_input().
parent
a873c1172a
commit
0fcf9676b3
|
@ -267,7 +267,8 @@ class GPGTestCase(unittest.TestCase):
|
||||||
def test_gen_key_input(self):
|
def test_gen_key_input(self):
|
||||||
"""Test that GnuPG batch file creation is successful."""
|
"""Test that GnuPG batch file creation is successful."""
|
||||||
key_input = self.generate_key_input("Francisco Ferrer", "an.ok")
|
key_input = self.generate_key_input("Francisco Ferrer", "an.ok")
|
||||||
|
self.assertIsNotNone(key_input)
|
||||||
|
self.assertGreater(key_input.find('Francisco Ferrer'), 0)
|
||||||
|
|
||||||
def test_rsa_key_generation(self):
|
def test_rsa_key_generation(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue