Exemple #1
0
 def stop(archs):
     spy = Spy()
     input = {'flags': [], 'arch_list': archs}
     self.assertEqual(dict(), sut.arch_check(input, spy.call))
     self.assertIsNone(spy.arg)
 def stop(archs):
     spy = Spy()
     input = {'flags': [], 'arch_list': archs}
     self.assertIsNone(sut.arch_check(input, spy.call))
     self.assertIsNone(spy.arg)
Exemple #3
0
 def flags(archs):
     spy = Spy()
     input = {'flags': [], 'arch_list': archs}
     sut.arch_check(input, spy.call)
     return spy.arg['flags']
 def flags(archs):
     spy = Spy()
     input = {'flags': [], 'arch_list': archs}
     sut.arch_check(input, spy.call)
     return spy.arg['flags']