fix pylint

This commit is contained in:
Daniel Wallace 2018-03-09 08:23:17 -07:00
parent 9e2c3f7991
commit d18f1a55a7
No known key found for this signature in database
GPG key ID: 5FA5E5544F010D48

View file

@ -110,5 +110,5 @@ class HighstateReturnerTestCase(TestCase, LoaderModuleMockMixin):
}
]
highstate.returner(ret)
with open(self.output_file) as fh_:
with salt.utils.fopen(self.output_file) as fh_:
self.assertEqual(json.load(fh_), expected)