def tearDown(self): super(BindManagerTests, self).tearDown() Consumer.get_collection().remove() Repo.get_collection().remove() RepoDistributor.get_collection().remove() Bind.get_collection().remove() mock_plugins.reset() mock_agent.reset()
def tearDown(self): super(ProfileManagerTests, self).tearDown() Consumer.get_collection().remove() UnitProfile.get_collection().remove() mock_plugins.reset() mock_agent.reset()
def tearDown(self): super(ConsumerManagerTests, self).tearDown() mock_agent.reset()
def setUp(self): base.PulpServerTests.setUp(self) mock_agent.install() mock_agent.reset()