def test_generate(self): self.assertEqual(check_data_writable(), []) self.assertIsNone(get_gpg_key(silent=True)) key = generate_gpg_key() self.check_errors() self.assertIsNotNone(key) self.assertEqual(key, get_gpg_key())
def test_generate(self): self.assertEqual(check_data_writable(), []) self.assertIsNone(get_gpg_key()) key = generate_gpg_key() self.assertIsNotNone(key) self.assertEqual(key, get_gpg_key())