Use salt.utils to ensure string type

This commit is contained in:
Daniel A Wozniak 2018-08-25 19:19:07 +00:00 committed by Daniel A. Wozniak
parent 5766e982e7
commit 7513474f71
No known key found for this signature in database
GPG Key ID: 166B9D2C06C82D61

View File

@ -2119,7 +2119,7 @@ class FileTest(ModuleCase, SaltReturnAssertsMixin):
'#-- end salt managed zoneend --',
'']
self.assertEqual([line.encode('utf-8') for line in expected], contents)
self.assertEqual([salt.utils.stringutils.to_str(line) for line in expected], contents)
@with_tempdir()
def test_issue_11003_immutable_lazy_proxy_sum(self, base_dir):