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