add unicode type for syslog test for tag

This commit is contained in:
Ch3LL 2018-07-13 12:39:09 -04:00
parent 17e69382d5
commit d8288a0ffc
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73

View file

@ -34,7 +34,7 @@ class SyslogReturnerTestCase(TestCase, LoaderModuleMockMixin):
ret = {'fun_args': [], 'jid': '20180713160901624786', 'return': True,
'retcode': 0, 'success': True, 'fun': 'test.ping', 'id': '02e10e971a30'}
opts = {u'level': u'LOG_INFO', u'options': [],
u'facility': u'LOG_USER', 'tag': u'salt-minion'}
u'facility': u'LOG_USER', u'tag': u'salt-minion'}
with patch('salt.returners.syslog_return._get_options',
MagicMock(return_value=opts)):