mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix cp.push test
mock_open now properly handles bytestrings, so the expected data needed to be updated.
This commit is contained in:
parent
e230a7223f
commit
8d2fb0bf25
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue