Merge "inspector py3 gate fix"

This commit is contained in:
Zuul 2019-03-07 12:05:47 +00:00 committed by Gerrit Code Review
commit 10d3b2f128
1 changed files with 1 additions and 1 deletions

View File

@ -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)