Also, unittest.TestCase.AssertIn() doesn't exist in python 2.6 http://docs.python.org/release/2.6.8/library/unittest.html#testcase-objects

But I think you can do this way:

<code>self.assertTrue(service_libvirtd_control('status') in (True, False))</code>