Convert yml to python test case

Hello

I have converted yml to python test case.

thanks.
Unused variable 'main_company' !