diff options
author | Ethan Lynn <xjunlin@cn.ibm.com> | 2015-12-04 01:08:49 +0800 |
---|---|---|
committer | Ethan Lynn <xjunlin@cn.ibm.com> | 2015-12-15 22:10:13 +0800 |
commit | de61800811f81b6ffc80002bf6224d45fb81a2c0 (patch) | |
tree | e9ca1b3ba7a596dd5f764f88db53a74d5928e349 /heat/tests/common.py | |
parent | dfdee0be86a8d83098b6039a4c54f51c1f7400dc (diff) | |
download | heat-de61800811f81b6ffc80002bf6224d45fb81a2c0.tar.gz |
Add neutron provider constraints
Add lbaas and lbaasv2 provider constraints to related resources.
Change-Id: Ie8b5ee504818a4247c1381a35b8c684861050d14
Diffstat (limited to 'heat/tests/common.py')
-rw-r--r-- | heat/tests/common.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/heat/tests/common.py b/heat/tests/common.py index e7295c3a1..6889e2368 100644 --- a/heat/tests/common.py +++ b/heat/tests/common.py @@ -293,3 +293,7 @@ class HeatTestCase(testscenarios.WithScenarios, def stub_SaharaPluginConstraint(self): validate = self.patchobject(sahara.PluginConstraint, 'validate') validate.return_value = True + + def stub_ProviderConstraint_validate(self): + validate = self.patchobject(neutron.ProviderConstraint, 'validate') + validate.return_value = True |