@staticmethod
    def _config_dependent_side_effect(match_config, exc):
        keywords = match_config.split()

        def _side_effect_function(target, config):
            if all(word in config for word in keywords):
                raise exc
        return _side_effect_function
Lists deals associated with an organization.
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/ml2/drivers/cisco/nexus/test_cisco_mech.py/CiscoML2MechanismTestCase._config_dependent_side_effect--crossover with--dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/pipedrive/organizations.py/Organization.deals