mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Use salt.utils to ensure string type
This commit is contained in:
parent
5766e982e7
commit
7513474f71
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user