コード例 #1
0
ファイル: TestHap2Ceilometer.py プロジェクト: yyamma/hatohol
 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))
コード例 #2
0
 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))
コード例 #3
0
 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))
コード例 #4
0
 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))
コード例 #5
0
 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))
コード例 #6
0
 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))