Accept whatever comes into hightstate mock for state tests

This commit is contained in:
Mike Place 2016-01-12 11:30:25 -07:00
parent 46681658e0
commit 2c62b464b1

View file

@ -133,7 +133,7 @@ class MockState(object):
flag = False
opts = {'state_top': ""}
def __init__(self, opts, pillar=None, mocked=None):
def __init__(self, opts, pillar=None, *args, **kwargs):
self.state = MockState.State(opts,
pillar=pillar)