Add module for starting services #175
This is a WIP version of reducing code duplication in our cwrap integration tests.
I am still not sure whether we should also reuse function
And comments are welcome.
BTW I wrote patches few weeks ago; therefore new tests are not converted.
Site effect of this patches is that tests are cca 20% faster (IIRC)
I think this is a really nice refactor. I also think that the LDAP server could be another service, but I'm not sure if we want to mix all services in a single file. Would it make more sense to create a services/ package and add sssd.py, openldap.py, krb5.py (this is from KCM) there? Maybe some code could be shared between the services like spawning a generic program and killing it later pased on its PID.
About the fixture, I would definitely split it out to a module as well, but I think moving it to fixtures.py (a new file) would make more sense.