Fix mocking in unit tests

This commit is contained in:
Erik Johnson 2017-04-10 13:57:39 -05:00
parent 8dfa51f31f
commit 5ea1f607b0

View file

@ -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'