def setUp(self): super(ScheduledUnitInstallTests, self).setUp() plugin_api._create_manager() mock_plugins.install() mock_agent.install() self.consumer_id = 'test-consumer' self.consumer_manager = factory.consumer_manager() self.consumer_manager.register(self.consumer_id)
def setUp(self): base.PulpWebserviceTests.setUp(self) Consumer.get_collection().remove() Repo.get_collection().remove() RepoDistributor.get_collection().remove() Bind.get_collection().remove() plugin_api._create_manager() mock_plugins.install() mock_agent.install()
def setUp(self): base.PulpServerTests.setUp(self) Consumer.get_collection().remove() Repo.get_collection().remove() RepoDistributor.get_collection().remove() Bind.get_collection().remove() plugin_api._create_manager() mock_plugins.install() mock_agent.install()
def setUp(self): PulpItineraryTests.setUp(self) Consumer.get_collection().remove() ConsumerGroup.get_collection().remove() mock_plugins.install() mock_agent.install()
def setUp(self): base.PulpServerTests.setUp(self) mock_agent.install() mock_agent.reset()