mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Prefer a fresh copy of minion opts in yaml test
Avoids deprecation warning
This commit is contained in:
parent
9faa920997
commit
7e00702863
@ -85,9 +85,9 @@ class OutputReturnTest(integration.ShellCase):
|
||||
'''
|
||||
Tests outputter reliability with utf8
|
||||
'''
|
||||
opts = copy.deepcopy(self.minion_opts)
|
||||
opts = salt.config.minion_config(os.path.join(RUNTIME_VARS.TMP_CONF_DIR, "minion"))
|
||||
opts['output_file'] = os.path.join(
|
||||
self.minion_opts['root_dir'], 'outputtest')
|
||||
opts['root_dir'], 'outputtest')
|
||||
data = {'foo': {'result': False,
|
||||
'aaa': 'azerzaeréééé',
|
||||
'comment': u'ééééàààà'}}
|
||||
|
Loading…
Reference in New Issue
Block a user