commit | 10d3b2f128e72a22f5f9b2cc1826279a5ade33f9 | [log] [tgz] |
---|---|---|
author | Zuul <zuul@review.openstack.org> | Thu Mar 07 12:05:47 2019 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Thu Mar 07 12:05:47 2019 +0000 |
tree | 09e181214fdca4ddb2a2974cba06f840743dcf9e | |
parent | 6f5f021a8ad13a9181a8572b6cab58003bcbd989 [diff] | |
parent | 318ac4d0879b3b7174ce9926a0ae11af12d2d6a8 [diff] |
Merge "inspector py3 gate fix"
diff --git a/ironic_tempest_plugin/tests/scenario/introspection_manager.py b/ironic_tempest_plugin/tests/scenario/introspection_manager.py index d39e0a7..c45f285 100644 --- a/ironic_tempest_plugin/tests/scenario/introspection_manager.py +++ b/ironic_tempest_plugin/tests/scenario/introspection_manager.py
@@ -113,7 +113,7 @@ 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)