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)
Example #3
0
 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']
Example #5
0
 def flags(archs):
     spy = Spy()
     input = {'flags': [], 'arch_list': archs}
     sut.arch_check(input, spy.call)
     return spy.arg['flags']