def tearDown(self): PulpItineraryTests.tearDown(self) Consumer.get_collection().remove() Repo.get_collection().remove() RepoDistributor.get_collection().remove() Bind.get_collection().remove() mock_plugins.reset()
def setUp(self): PulpItineraryTests.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 tearDown(self): PulpItineraryTests.tearDown(self) Consumer.get_collection().remove() ConsumerGroup.get_collection().remove() mock_plugins.reset()
def setUp(self): PulpItineraryTests.setUp(self) Consumer.get_collection().remove() ConsumerGroup.get_collection().remove() mock_plugins.install() mock_agent.install()