コード例 #1
0
 def test(input):
     spy = fixtures.Spy()
     sut.arch_check(input, spy.call)
     return spy.arg
コード例 #2
0
 def stop(archs):
     spy = Spy()
     input = {'flags': [], 'arch_list': archs}
     self.assertIsNone(sut.arch_check(input, spy.call))
     self.assertIsNone(spy.arg)
コード例 #3
0
ファイル: test_runner.py プロジェクト: faouellet/clang
 def stop(archs):
     spy = Spy()
     input = {'flags': [], 'arch_list': archs}
     self.assertIsNone(sut.arch_check(input, spy.call))
     self.assertIsNone(spy.arg)
コード例 #4
0
 def flags(archs):
     spy = Spy()
     input = {'flags': [], 'arch_list': archs}
     sut.arch_check(input, spy.call)
     return spy.arg['flags']
コード例 #5
0
ファイル: test_runner.py プロジェクト: faouellet/clang
 def flags(archs):
     spy = Spy()
     input = {'flags': [], 'arch_list': archs}
     sut.arch_check(input, spy.call)
     return spy.arg['flags']