def test(input): spy = fixtures.Spy() sut.arch_check(input, spy.call) return spy.arg
def stop(archs): spy = Spy() input = {'flags': [], 'arch_list': archs} self.assertIsNone(sut.arch_check(input, spy.call)) self.assertIsNone(spy.arg)
def flags(archs): spy = Spy() input = {'flags': [], 'arch_list': archs} sut.arch_check(input, spy.call) return spy.arg['flags']