diff options
| author | J08nY | 2017-07-11 00:36:57 +0200 |
|---|---|---|
| committer | J08nY | 2017-07-11 00:36:57 +0200 |
| commit | f8793bcc2e00c4ee639e4f0e75cfc2b19ea1849f (patch) | |
| tree | e18603fb641ec66c021168d914f49ae4599095f6 /src/mailman_pgp/styles | |
| parent | ed5fc4825fd56c4ec9b3e4c07554977363c55bc7 (diff) | |
| download | mailman-pgp-f8793bcc2e00c4ee639e4f0e75cfc2b19ea1849f.tar.gz mailman-pgp-f8793bcc2e00c4ee639e4f0e75cfc2b19ea1849f.tar.zst mailman-pgp-f8793bcc2e00c4ee639e4f0e75cfc2b19ea1849f.zip | |
Diffstat (limited to 'src/mailman_pgp/styles')
| -rw-r--r-- | src/mailman_pgp/styles/tests/test_base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman_pgp/styles/tests/test_base.py b/src/mailman_pgp/styles/tests/test_base.py index 159a242..d343fe4 100644 --- a/src/mailman_pgp/styles/tests/test_base.py +++ b/src/mailman_pgp/styles/tests/test_base.py @@ -33,8 +33,7 @@ class TestBaseStyle(TestCase): base_style = PGPStyle() base_style.apply(mlist) - pgp_list = PGPMailingList.query().filter_by( - list_id=mlist.list_id).first() + pgp_list = PGPMailingList.for_list(mlist) # Test that we have our PGPMailingList self.assertIsNotNone(pgp_list) |
