Merge branch 'postorius-tests-cleanup'
Clear mailman database after each test Add a tearDown method to ViewTestCase that clears out all domains and users. This causes all data to be cleared out of mailman's database to ensure that no side effects between tests can occur. All additions to django's database don't have to be explicitly deleted as django uses a fresh database for each test by default. All open merge requests that rewrote any tapes have to be rebased of this and the tapes have to be re-recorded. Sidenote: currently open requests don't get deleted when a list is deleted. I filed mailman/mailman#214 for that. See merge request !122 |
---|
src/postorius/tests/fixtures/vcr_cassettes/AddModeratorTest.test_new_moderator_added.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/AddRemoveOwnerTest.test_add_remove_owner.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/AddRemoveOwnerTest.test_remove_owner_as_owner_self_last.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/AddRemoveOwnerTest.test_remove_owner_by_owner.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainCreationTest.test_new_domain_created_with_owner.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainCreationTest.test_permission_denied.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainDeleteTest.test_access_anonymous.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainDeleteTest.test_access_basic_user.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainDeleteTest.test_access_moderators.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainDeleteTest.test_access_owners.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainDeleteTest.test_domain_delete.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainDeleteTest.test_domain_delete_confirm.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainIndexPageTest.test_domain_index_contains_the_domains.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainIndexPageTest.test_domain_index_not_accessible_to_moderators.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainIndexPageTest.test_domain_index_not_accessible_to_owners.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainIndexPageTest.test_domain_index_not_accessible_to_public.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/DomainIndexPageTest.test_domain_index_not_accessible_to_unpriveleged_user.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListBansTest.test_access_for_superuser.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListBansTest.test_add_ban.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListBansTest.test_add_ban_duplicate.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListBansTest.test_context_contains_create_form.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListBansTest.test_context_contains_delete_forms.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListBansTest.test_del_ban.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListBansTest.test_del_unknown_ban.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListBansTest.test_login_redirect_for_anonymous.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListBansTest.test_no_access_for_basic_user.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListCreationTest.test_new_list_created_with_owner.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListCreationTest.test_permission_denied.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_add.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_add_empty.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_add_empty_header.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_add_empty_pattern.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_add_existing.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_delete.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_edit.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_edit_empty.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_move_down.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_move_up.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_not_accessible_for_moderator.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_page_accessible_for_owner.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_page_accessible_for_superuser.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_page_not_accessible_for_unprivileged_users.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_page_not_accessible_if_not_logged_in.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_same_order.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListHeaderMatchesTest.test_show_existing.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListIndexPageTest.test_list_index_contains_the_lists.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListMembersAccessTest.test_not_accessible_for_moderator.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListMembersAccessTest.test_page_accessible_for_owner.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListMembersAccessTest.test_page_accessible_for_superuser.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListMembersAccessTest.test_page_not_accessible_for_unprivileged_users.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListMembersAccessTest.test_page_not_accessible_if_not_logged_in.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListMembersTest.test_search_members_1.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListMembersTest.test_show_members_page.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSettingsTest.test_archivers.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSettingsTest.test_archiving_policy.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSettingsTest.test_not_accessible_for_moderator.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSettingsTest.test_page_accessible_for_owner.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSettingsTest.test_page_accessible_for_superuser.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSettingsTest.test_page_not_accessible_for_unprivileged_users.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSettingsTest.test_page_not_accessible_if_not_logged_in.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSummaryPageTest.test_list_metrics_displayed_to_owner.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSummaryPageTest.test_list_metrics_displayed_to_superuser.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSummaryPageTest.test_list_metrics_not_displayed_to_moderator.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSummaryPageTest.test_list_summary_is_admin_secondary_moderator.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSummaryPageTest.test_list_summary_is_admin_secondary_owner.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSummaryPageTest.test_list_summary_logged_in.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSummaryPageTest.test_list_summary_logged_out.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSummaryPageTest.test_list_summary_moderator.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSummaryPageTest.test_list_summary_owner.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSummaryPageTest.test_list_summary_shows_all_addresses.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSummaryPageTest.test_metrics_not_displayed_to_anonymous.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ListSummaryPageTest.test_unsubscribe_button_is_available.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/MailmanUserTest.test_address_based_preferences.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/MailmanUserTest.test_address_preferences_not_logged_in.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/MailmanUserTest.test_preferences_none.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/MailmanUserTest.test_subscriptions_logged_in.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/MailmanUserTest.test_subscriptions_no_mailman_user.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/MailmanUserTest.test_subscriptions_not_logged_in.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ModelTest.test_mailman_user_created_when_flag_is_on.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/ModelTest.test_mailman_user_not_created_when_flag_is_off.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressActivationForm.test_email_used_by_django_auth_is_invalid.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressActivationForm.test_email_used_by_expired_confirmation_profile_is_valid.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressActivationForm.test_email_used_by_mailman_is_invalid.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressActivationForm.test_invalid_email_is_not_valid.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressActivationForm.test_valid_email_is_valid.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressActivationLinkSuccess.test_add_address.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressConfirmationProfile.test_confirmation_link.yaml 0 → 100644 |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressConfirmationProfile.test_profile_creation.yaml 0 → 100644 |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressConfirmationProfile.test_profile_is_expired_default_setting.yaml 0 → 100644 |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressConfirmationProfile.test_profile_is_updated_on_save.yaml 0 → 100644 |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressConfirmationProfile.test_profile_not_expired.yaml 0 → 100644 |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressConfirmationProfile.test_profile_not_expired_default_setting.yaml 0 → 100644 |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestAddressConfirmationProfile.test_unicode_representation.yaml 0 → 100644 |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestProfile.test_post_form_with_smtp_exception.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestProfile.test_post_invalid_form_shows_error_msg.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestProfile.test_post_valid_form_redirects_on_success.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestProfile.test_post_valid_form_shows_success_message.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestProfile.test_view_contains_form.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestSubscription.test_mass_subscribe.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestSubscription.test_secondary_mod.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestSubscription.test_secondary_open.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestSubscription.test_subscribe_mod.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestSubscription.test_subscribe_mod_then_open.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestSubscription.test_subscribe_open.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/fixtures/vcr_cassettes/TestSubscription.test_unknown_address.yaml |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_address_activation.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_domain_delete.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_domain_index.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_domain_new.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_list_bans.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_list_header_matches.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_list_index.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_list_members.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_list_new.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_list_settings.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_list_summary.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_models.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_profile.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_subscriptions.py |
---|
Too large (Show diff)
|
src/postorius/tests/mailman_api_tests/test_user.py |
---|
Too large (Show diff)
|
src/postorius/tests/utils.py |
---|
Too large (Show diff)
|