@wrap_check_policy
    def validate_networks(self, context, requested_networks, num_instances):
        if requested_networks:
            self.network_rpcapi.validate_networks(context,
                                                  requested_networks)

        # Neutron validation checks and returns how many of num_instances
        # instances can be supported by the quota.  For Nova network
        # this is part of the subsequent quota check, so we just return
        # the requested number in this case.
        return num_instances
Test that override_settings uses the actual _wrapped attribute at
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/network/api.py/API.validate_networks--crossover with--dataset/ETHPy150Open django/django/tests/settings_tests/tests.py/SettingsTests.test_override_settings_nested