Skip to content

Commit

Permalink
Fixing failed test, using a copy of the default minion opts.
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgreenaway committed Jan 12, 2020
1 parent 8dc87f4 commit 80a52ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_engines.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_engine_module(self):
'''
Test
'''
mock_opts = salt.config.DEFAULT_MINION_OPTS
mock_opts = salt.config.DEFAULT_MINION_OPTS.copy()

This comment has been minimized.

Copy link
@s0undt3ch

s0undt3ch Jan 12, 2020

Collaborator

❤️

mock_opts['__role'] = 'minion'
mock_opts['engines'] = [{'test_one': {'engine_module': 'test'}},
{'test_two': {'engine_module': 'test'}}]
Expand Down

0 comments on commit 80a52ab

Please sign in to comment.