[imp]:convert yml to python test case