예제 #1
0
 def test(fh):
     result = baz()
     fh.write(str(result == 'baz'))
     fh.close()
     os._exit(0)
예제 #2
0
 def test_patch_context_a(self):
     b = baz()
     assert b == 'boz', "Expected boz got %s" % b
예제 #3
0
 def test_patch_context_b(self):
     b = baz()
     assert b == 'bar', "Expected bar got %s" % b
 def test(fh):
     result = baz()
     fh.write(str(result == 'baz'))
     fh.close()
     os._exit(0)
예제 #5
0
 def test_patch_sanity(self):
     b = baz()
     assert b == 'biz', "Value is %s" % b
 def test_patch_context_b(self):
     b = baz()
     assert b == 'bar', "Expected bar got %s" % b
 def test_patch_context_a(self):
     b = baz()
     assert b == 'boz', "Expected boz got %s" % b
 def test_patch_sanity(self):
     b = baz()
     assert b == 'biz', "Value is %s" % b
예제 #9
0
파일: foobar.py 프로젝트: buzzfeed/caliendo
def bazbiz():
    return baz() + biz()
예제 #10
0
파일: foobar.py 프로젝트: mplacona/caliendo
def bazbiz():
    return baz() + biz()