Fix the check_output in unit tests, the result was being
intrepid as a byte string which caused unit tests to fail.
This patch makes it a utf-8 string.
Change-Id: Iba5c50762846ef5266eddd397aca44b01d411354
Signed-off-by: Chuck Short <chucks@redhat.com>
This change also fixes the python tests to properly mock the path so our
stubs work if the command already exists on the system path.
Change-Id: I7c54b1d99e7cf6c4e3f4ded8c518bf447b2ba1de
Adds a set of unit tests for os-svc-daemon to verify the output
of running it with various options. Includes a base test class
with some convenience functions for testing scripts.
Change-Id: Id54291686d39ab1b9f0ce4848a2fcf3c18a9ea18