def setUp(self): self.job_list = [make_job('foo'), make_job('bar')] self.whitelist_list = [ WhiteList([], name='ihv-foo'), WhiteList([], name='other')] self.real_provider = DummyProvider1( job_list=self.job_list, whitelist_list=self.whitelist_list) self.ihv_provider = IHVProvider(self.real_provider)
def test_default_settings(self): provider = IHVProvider() # It is either CheckBoxSrcProvider or CheckBoxDebProvider but it's not # easy to test that IMHO. This just ensures we got something there. self.assertIsInstance(provider._real, Provider1)