Example #1
0
 def test(fh):
     result = baz()
     fh.write(str(result == 'baz'))
     fh.close()
     os._exit(0)
Example #2
0
 def test_patch_context_a(self):
     b = baz()
     assert b == 'boz', "Expected boz got %s" % b
Example #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)
Example #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
Example #9
0
def bazbiz():
    return baz() + biz()
Example #10
0
def bazbiz():
    return baz() + biz()