def setup_tree(): global t t = load(file("X0406.txt"))
def test_findByCode82211(): t = load(file("X0406.txt")) found = t.findByCode(8221) assert found.code == 8221 assert found.title == "当期商品仕入高"