]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Merge "Fix PYTHONHASHSEED bugs in test_security_groups_rpc"
authorJenkins <jenkins@review.openstack.org>
Wed, 26 Nov 2014 04:06:13 +0000 (04:06 +0000)
committerGerrit Code Review <review@openstack.org>
Wed, 26 Nov 2014 04:06:13 +0000 (04:06 +0000)
1  2 
neutron/tests/unit/test_security_groups_rpc.py

index 313e14a0b6a7d95f8925dc22196802e56d7c4a85,90e1987b2d24270644926655d9dd22dffaa51588..24b4a9a3b0137883d06a7c41fc746c221efd404f
@@@ -242,13 -231,12 +247,13 @@@ class SGServerRpcCallBackTestCase(test_
          plugin_obj = manager.NeutronManager.get_plugin()
          if ('allowed-address-pairs'
              not in plugin_obj.supported_extension_aliases):
-             self.skipTest("Test depeneds on allowed-address-pairs extension")
+             self.skipTest("Test depends on allowed-address-pairs extension")
          fake_prefix = FAKE_PREFIX['IPv4']
          with self.network() as n:
 -            with contextlib.nested(self.subnet(n),
 -                                   self.security_group()) as (subnet_v4,
 -                                                              sg1):
 +            with contextlib.nested(
 +                self.subnet(n),
 +                self.security_group()
 +            ) as (subnet_v4, sg1):
                  sg1_id = sg1['security_group']['id']
                  rule1 = self._build_security_group_rule(
                      sg1_id,