def test_create_main_plugin(self): hap = hap2_ceilometer.Hap2Ceilometer() kwargs = {"transporter_args": {"class": transporter.Transporter}} main_plugin = hap.create_main_plugin(**kwargs) expect_class = hap2_ceilometer.Hap2CeilometerMain self.assertTrue(isinstance(main_plugin, expect_class))
def test_create_main_plugin(self): hap = hap2_nagios_livestatus.Hap2NagiosLivestatus() main_plugin = hap.create_main_plugin() expect_class = hap2_nagios_livestatus.Hap2NagiosLivestatusMain self.assertTrue(isinstance(main_plugin, expect_class))
def test_create_main_plugin(self): hap = hap2_nagios_ndoutils.Hap2NagiosNDOUtils() main_plugin = hap.create_main_plugin() expect_class = hap2_nagios_ndoutils.Hap2NagiosNDOUtilsMain self.assertTrue(isinstance(main_plugin, expect_class))