Add run mechanism for unittests to main module.
parent
2825efcda5
commit
1cfd8b636d
|
@ -1101,3 +1101,7 @@ class GPGWrapper(GPG):
|
||||||
|
|
||||||
def is_encrypted(self, raw_data):
|
def is_encrypted(self, raw_data):
|
||||||
self.is_encrypted_asym() or self.is_encrypted_sym()
|
self.is_encrypted_asym() or self.is_encrypted_sym()
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
from .test import test_gnupg
|
||||||
|
test_gnupg.main()
|
||||||
|
|
Loading…
Reference in New Issue