Ejemplo n.º 1
0
 def tearDown(self):
     PulpRPMTests.tearDown(self)
     Consumer.get_collection().remove()
     Repo.get_collection().remove()
     RepoContentUnit.get_collection().remove()
     RepoDistributor.get_collection().remove()
     database.clean()
     plugins.finalize()
Ejemplo n.º 2
0
 def test_finalize(self):
     api.finalize()
     self.assertEqual(api._MANAGER, None)
Ejemplo n.º 3
0
 def tearDown(self):
     super(ContainerTest, self).tearDown()
     ContentCatalog.get_collection().remove()
     shutil.rmtree(self.tmp_dir, ignore_errors=True)
     plugins.finalize()
Ejemplo n.º 4
0
 def tearDown(self):
     PulpAsyncServerTests.tearDown(self)
     ContentCatalog.get_collection().remove()
     shutil.rmtree(self.tmp_dir, ignore_errors=True)
     plugins.finalize()
Ejemplo n.º 5
0
 def tearDown(self):
     super(ContainerTest, self).tearDown()
     ContentCatalog.get_collection().remove()
     shutil.rmtree(self.tmp_dir, ignore_errors=True)
     plugins.finalize()