[imp]:convert yml to python test case

[imp]:remove unused code

[imp]:improve code

[imp]:improve code

[imp]:improve code

[imp]:improve code