diff --git a/src/postorius/tests/mailman_api_tests/test_list_header_matches.py b/src/postorius/tests/mailman_api_tests/test_list_header_matches.py index 749ffbd..bb6e542 100644 --- a/src/postorius/tests/mailman_api_tests/test_list_header_matches.py +++ b/src/postorius/tests/mailman_api_tests/test_list_header_matches.py @@ -139,9 +139,6 @@ } response = self.client.post(url, data) self.assertRedirects(response, url) - #from postorius.tests.utils import get_flash_messages - #msgs = get_flash_messages(response) - #print([m.message for m in msgs]) self.assertHasNoMessage(response) self.assertEqual(len(self.mlist.header_matches), 0) diff --git a/src/postorius/tests/utils.py b/src/postorius/tests/utils.py index d00ed34..6de3dcf 100644 --- a/src/postorius/tests/utils.py +++ b/src/postorius/tests/utils.py @@ -110,7 +110,6 @@ self.mm_client = get_client() if self.use_vcr: cm = MM_VCR.use_cassette('.'.join([ - #self.__class__.__module__.rpartition('.')[2], self.__class__.__name__, self._testMethodName, 'yaml'])) self.cassette = cm.__enter__() self.addCleanup(cm.__exit__, None, None, None)