Ticket 48832 - CI tests - convert all the tests to use
py.test
Description: Made sure all the tests use py.test instead of isolated run
functions. Also made some more fixes to a few tests.
https://fedorahosted.org/389/ticket/48832
Reviewed by: nhosoi(Thanks!)