mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use salt.utils to ensure string type
This commit is contained in:
parent
6c92ed2021
commit
944f8e96c8
1 changed files with 1 additions and 1 deletions
|
@ -2097,7 +2097,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…
Add table
Reference in a new issue