mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix mocking in unit tests
This commit is contained in:
parent
8dfa51f31f
commit
5ea1f607b0
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ from salt.ext.six.moves import zip # pylint: disable=import-error,redefined-bui
|
|||
# Globals
|
||||
archive.__salt__ = {}
|
||||
archive.__grains__ = {'os': 'FooOS!'}
|
||||
archive.__opts__ = {"cachedir": "/tmp", "test": False}
|
||||
archive.__opts__ = {'cachedir': '/tmp', 'test': False, 'hash_type': 'sha256'}
|
||||
archive.__env__ = 'test'
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue