Fix cp.push test

mock_open now properly handles bytestrings, so the expected data needed
to be updated.
This commit is contained in:
Erik Johnson 2018-06-14 15:23:54 -05:00
parent e230a7223f
commit 8d2fb0bf25
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F

View file

@ -147,7 +147,7 @@ class CpTestCase(TestCase, LoaderModuleMockMixin):
cmd='_file_recv',
tok='token',
path=['saltines', 'test.file'],
data='', # data is empty here because load['data'] is overwritten
data=b'', # data is empty here because load['data'] is overwritten
id='abc'
)
)