def test_subunitNotInstalled(self):
        stream = NativeStringIO()
        self.patch(reporter, 'TestProtocolClient', None)
        e = self.assertRaises(Exception, reporter.SubunitReporter, stream)
        self.assertEqual("Subunit not available", str(e))
Returns list of virtual hosts found in the Apache configuration.
dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_reporter.py/SubunitReporterNotInstalledTests.test_subunitNotInstalled--crossover with--dataset/ETHPy150Open letsencrypt/letsencrypt/certbot-apache/certbot_apache/configurator.py/ApacheConfigurator.get_virtual_hosts