chapps.tests.test_policy.conftest module

Fixtures for testing of CHAPPS policy module

chapps.tests.test_policy.conftest.testing_policy_factory(policy_type)[source]
chapps.tests.test_policy.conftest.testing_policy(chapps_mock_env, chapps_mock_config_file)[source]
chapps.tests.test_policy.conftest.testing_policy_sda(chapps_mock_env, chapps_mock_config_file)[source]
chapps.tests.test_policy.conftest.null_sender_policy_sda(chapps_mock_env, chapps_mock_config_file, monkeypatch)[source]
chapps.tests.test_policy.conftest.testing_policy_inbound(chapps_mock_env, chapps_mock_config_file)[source]
chapps.tests.test_policy.conftest.testing_policy_grl(chapps_mock_env, chapps_mock_config_file)[source]
chapps.tests.test_policy.conftest.testing_policy_spf(chapps_mock_env, chapps_mock_config_file)[source]
chapps.tests.test_policy.conftest.allowable_ppr(postfix_policy_request_message)[source]
chapps.tests.test_policy.conftest.allowable_inbound_ppr(postfix_policy_request_message)[source]
chapps.tests.test_policy.conftest.sda_allowable_ppr(postfix_policy_request_message)[source]
chapps.tests.test_policy.conftest.sda_auth_email_ppr(postfix_policy_request_message)[source]
chapps.tests.test_policy.conftest.sda_unauth_email_ppr(postfix_policy_request_message)[source]
chapps.tests.test_policy.conftest.sda_unauth_ppr(postfix_policy_request_message)[source]
chapps.tests.test_policy.conftest.groupsend_ppr(postfix_policy_request_message)[source]
chapps.tests.test_policy.conftest.helo_ppr_factory(postfix_policy_request_message)[source]
chapps.tests.test_policy.conftest.multisend_ppr_factory(random_recipient, postfix_policy_request_message)[source]
chapps.tests.test_policy.conftest.random_recipient()[source]
chapps.tests.test_policy.conftest.overquota_ppr(postfix_policy_request_message)[source]
chapps.tests.test_policy.conftest.undefined_ppr(postfix_policy_request_message)[source]
chapps.tests.test_policy.conftest.uncached_allowable_ppr(postfix_policy_request_message)[source]
chapps.tests.test_policy.conftest.well_spaced_attempts()[source]
chapps.tests.test_policy.conftest.well_spaced_double_attempts(well_spaced_attempts)[source]
chapps.tests.test_policy.conftest.rapid_attempts()[source]
chapps.tests.test_policy.conftest.populate_redis(clear_redis)[source]
chapps.tests.test_policy.conftest.populate_redis_multi(clear_redis)[source]
chapps.tests.test_policy.conftest.clear_redis()[source]
chapps.tests.test_policy.conftest.clear_redis_grl()[source]
chapps.tests.test_policy.conftest.clear_redis_sda()[source]
chapps.tests.test_policy.conftest.populate_redis_grl(clear_redis_grl)[source]
chapps.tests.test_policy.conftest.unique_instance()[source]
chapps.tests.test_policy.conftest.mock_client_tally(unique_instance)[source]
chapps.tests.test_policy.conftest.mock_spf_query(result, message)[source]
chapps.tests.test_policy.conftest.mock_spf_queries(*tuples)[source]
chapps.tests.test_policy.conftest.passing_spf_query()[source]
chapps.tests.test_policy.conftest.failing_spf_query()[source]
chapps.tests.test_policy.conftest.temperror_spf_query()[source]
chapps.tests.test_policy.conftest.permerror_spf_query()[source]
chapps.tests.test_policy.conftest.none_spf_query()[source]
chapps.tests.test_policy.conftest.neutral_spf_query()[source]
chapps.tests.test_policy.conftest.softfail_spf_query()[source]
chapps.tests.test_policy.conftest.auto_spf_query(request)[source]
chapps.tests.test_policy.conftest.no_helo_passing_mf()[source]
chapps.tests.test_policy.conftest.failing_helo_passing_mf()[source]
chapps.tests.test_policy.conftest.passing_helo_failing_mf()[source]
chapps.tests.test_policy.conftest.no_helo_softfail_mf()[source]
chapps.tests.test_policy.conftest.idfn(val)[source]
chapps.tests.test_policy.conftest.postfix_actions()[source]
chapps.tests.test_policy.conftest.oqp_actions()[source]
chapps.tests.test_policy.conftest.grl_actions()[source]
chapps.tests.test_policy.conftest.spf_actions(testing_policy_spf)[source]
chapps.tests.test_policy.conftest.spf_reason()[source]