mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
msgpack returns string_types
This commit is contained in:
parent
a36b15e449
commit
3709ed745e
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ class SREQTestCase(TestCase):
|
|||
idata = {dtvalue: 'strval'}
|
||||
sdata = payload.dumps(idata.copy())
|
||||
odata = payload.loads(sdata, encoding=None)
|
||||
assert isinstance(odata[dtvalue], six.binary_type)
|
||||
assert isinstance(odata[dtvalue], six.string_types)
|
||||
|
||||
def test_raw_vs_encoding_utf8(self):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue