inspector py3 gate fix
Patch [1] breaks inspector's python3 job observed from from [2]. [1] https://review.openstack.org/#/c/638959/ [2] https://review.openstack.org/#/c/640705 Change-Id: I4a42ff6173fef3213605e22df6cdaf67da16ec15
This commit is contained in:
parent
f9734d3a49
commit
318ac4d087
|
@ -113,7 +113,7 @@ class InspectorScenarioTest(BaremetalScenarioTest):
|
|||
self.introspection_client.purge_rules()
|
||||
|
||||
def rule_import(self, rule_path):
|
||||
with open(rule_path, 'r') as fp:
|
||||
with open(rule_path, 'rb') as fp:
|
||||
rules = json.load(fp)
|
||||
self.introspection_client.create_rules(rules)
|
||||
|
||||
|
|
Loading…
Reference in New Issue