Fix for mock state PR #30118

This commit is contained in:
Mike Place 2016-01-06 14:01:43 -07:00 committed by rallytime
parent f9480f66d8
commit 70681bf03b

View file

@ -133,10 +133,9 @@ class MockState(object):
flag = False
opts = {'state_top': ""}
def __init__(self, opts, pillar=None, kwargs=None):
pillar = pillar
kwargs = kwargs
self.state = MockState.State(opts)
def __init__(self, opts, pillar=None, mocked=None):
self.state = MockState.State(opts,
pillar=pillar)
def render_state(self, sls, saltenv, mods, matches, local=False):
'''