aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/pgp
diff options
context:
space:
mode:
authorJ08nY2017-07-18 15:25:43 +0200
committerJ08nY2017-07-18 15:25:43 +0200
commit23db01a1762c056a75c94d44177462dea0a383a1 (patch)
tree8c35bf21719e5596271afb8bdfd201ac18ab38c8 /src/mailman_pgp/pgp
parent33e8fe52ea3dea2afe57af996df3d67dced344f4 (diff)
downloadmailman-pgp-23db01a1762c056a75c94d44177462dea0a383a1.tar.gz
mailman-pgp-23db01a1762c056a75c94d44177462dea0a383a1.tar.zst
mailman-pgp-23db01a1762c056a75c94d44177462dea0a383a1.zip
Cleanup @public from tests.
Diffstat (limited to 'src/mailman_pgp/pgp')
-rw-r--r--src/mailman_pgp/pgp/tests/test_inline.py5
-rw-r--r--src/mailman_pgp/pgp/tests/test_keygen.py2
-rw-r--r--src/mailman_pgp/pgp/tests/test_mime.py5
-rw-r--r--src/mailman_pgp/pgp/tests/test_wrapper.py5
4 files changed, 0 insertions, 17 deletions
diff --git a/src/mailman_pgp/pgp/tests/test_inline.py b/src/mailman_pgp/pgp/tests/test_inline.py
index a89963a..0a012f7 100644
--- a/src/mailman_pgp/pgp/tests/test_inline.py
+++ b/src/mailman_pgp/pgp/tests/test_inline.py
@@ -18,7 +18,6 @@
"""Tests for the inline wrapper."""
from parameterized import parameterized
-from public import public
from mailman_pgp.pgp.inline import InlineWrapper
from mailman_pgp.pgp.tests.base import load_key, load_message, WrapperTestCase
@@ -28,7 +27,6 @@ class InlineWrapperTestCase(WrapperTestCase):
wrapper = InlineWrapper
-@public
class TestSigning(InlineWrapperTestCase):
@parameterized.expand([
(load_message('inline_cleartext_signed.eml'),
@@ -85,7 +83,6 @@ class TestSigning(InlineWrapperTestCase):
self.verify(message, key, valid)
-@public
class TestEncryption(InlineWrapperTestCase):
@parameterized.expand([
(load_message('inline_encrypted.eml'),
@@ -137,7 +134,6 @@ class TestEncryption(InlineWrapperTestCase):
self.decrypt(message, key, clear)
-@public
class TestKeys(InlineWrapperTestCase):
@parameterized.expand([
(load_message('inline_privkey.eml'),
@@ -162,7 +158,6 @@ class TestKeys(InlineWrapperTestCase):
self.keys(message, keys)
-@public
class TestCombined(InlineWrapperTestCase):
@parameterized.expand([
(load_message('clear.eml'),
diff --git a/src/mailman_pgp/pgp/tests/test_keygen.py b/src/mailman_pgp/pgp/tests/test_keygen.py
index 5c59614..dab6801 100644
--- a/src/mailman_pgp/pgp/tests/test_keygen.py
+++ b/src/mailman_pgp/pgp/tests/test_keygen.py
@@ -21,12 +21,10 @@ from unittest import TestCase
from pgpy import PGPKey
from pgpy.constants import PubKeyAlgorithm
-from public import public
from mailman_pgp.pgp.keygen import ListKeyGenerator
-@public
class TesKeygen(TestCase):
def setUp(self):
self.keypair_config = {
diff --git a/src/mailman_pgp/pgp/tests/test_mime.py b/src/mailman_pgp/pgp/tests/test_mime.py
index f56c781..b45d924 100644
--- a/src/mailman_pgp/pgp/tests/test_mime.py
+++ b/src/mailman_pgp/pgp/tests/test_mime.py
@@ -18,7 +18,6 @@
"""Tests for the MIME wrapper."""
from parameterized import parameterized
-from public import public
from mailman_pgp.pgp.mime import MIMEWrapper
from mailman_pgp.pgp.tests.base import load_key, load_message, WrapperTestCase
@@ -28,7 +27,6 @@ class MIMEWrapperTestCase(WrapperTestCase):
wrapper = MIMEWrapper
-@public
class TestSigning(MIMEWrapperTestCase):
@parameterized.expand([
(load_message('mime_signed.eml'),
@@ -73,7 +71,6 @@ class TestSigning(MIMEWrapperTestCase):
self.verify(message, key, valid)
-@public
class TestEncryption(MIMEWrapperTestCase):
@parameterized.expand([
(load_message('mime_encrypted.eml'),
@@ -117,7 +114,6 @@ class TestEncryption(MIMEWrapperTestCase):
self.decrypt(message, key, clear)
-@public
class TestKeys(MIMEWrapperTestCase):
@parameterized.expand([
(load_message('mime_privkey.eml'),
@@ -142,7 +138,6 @@ class TestKeys(MIMEWrapperTestCase):
self.keys(message, keys)
-@public
class TestCombined(MIMEWrapperTestCase):
@parameterized.expand([
(load_message('clear.eml'),
diff --git a/src/mailman_pgp/pgp/tests/test_wrapper.py b/src/mailman_pgp/pgp/tests/test_wrapper.py
index 14f40fc..6e8715c 100644
--- a/src/mailman_pgp/pgp/tests/test_wrapper.py
+++ b/src/mailman_pgp/pgp/tests/test_wrapper.py
@@ -17,7 +17,6 @@
"""Tests for the combined wrapper."""
from parameterized import parameterized
-from public import public
from mailman_pgp.pgp.tests.base import load_key, load_message, WrapperTestCase
from mailman_pgp.pgp.wrapper import PGPWrapper
@@ -27,7 +26,6 @@ class PGPWrapperTestCase(WrapperTestCase):
wrapper = PGPWrapper
-@public
class TestSigning(PGPWrapperTestCase):
@parameterized.expand([
(load_message('inline_cleartext_signed.eml'),
@@ -77,7 +75,6 @@ class TestSigning(PGPWrapperTestCase):
self.verify(message, key, valid)
-@public
class TestEncryption(PGPWrapperTestCase):
@parameterized.expand([
(load_message('inline_encrypted.eml'),
@@ -131,7 +128,6 @@ class TestEncryption(PGPWrapperTestCase):
self.decrypt(message, key, clear)
-@public
class TestKeys(PGPWrapperTestCase):
@parameterized.expand([
(load_message('inline_privkey.eml'),
@@ -166,7 +162,6 @@ class TestKeys(PGPWrapperTestCase):
self.keys(message, keys)
-@public
class TestCombined(PGPWrapperTestCase):
@parameterized.expand([
(load_message('clear.eml'),