Merge "Use six.moves.reload_module instead of builltin reload"

This commit is contained in:
Jenkins 2016-03-01 01:50:56 +00:00 committed by Gerrit Code Review
commit babaa50880
1 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ class TestValidation(base.BaseTestCase):
# Reload the validator module so that baymodel configs are
# re-evaluated.
reload(v)
reload_module(v)
validator = v.K8sValidator
validator.supported_network_drivers = ['flannel', 'type1', 'type2']
@ -373,7 +373,7 @@ class TestValidation(base.BaseTestCase):
# Reload the validator module so that baymodel configs are
# re-evaluated.
reload(v)
reload_module(v)
validator = v.K8sValidator
validator.supported_volume_driver = ['cinder']