def setUpClass(cls): cls.explorer = OpenGeoExplorer(singletab = True) cls.cat = Catalog("http://localhost:8080/geoserver/rest", "admin", "geoserver") cls.catalogs = {"catalog": cls.cat} cleanCatalog(cls.cat) cls.cat.create_workspace(WORKSPACE, "http://test1.com") cls.cat.create_workspace(WORKSPACEB, "http://test2.com")
def setUpClass(cls): ''' 'test' workspace cannot exist in the test catalog''' cls.cat = utils.getGeoServerCatalog() utils.cleanCatalog(cls.cat.catalog) cls.cat.catalog.create_workspace(WORKSPACE, "http://boundlessgeo.com") cls.ws = cls.cat.catalog.get_workspace(WORKSPACE) assert cls.ws is not None
def setUpClass(cls): cls.explorer = OpenGeoExplorer(singletab = True) cls.cat = Catalog("http://boundless-test:8080/geoserver/rest", "admin", "geoserver") cls.catalogs = {"catalog": cls.cat} cleanCatalog(cls.cat) cls.cat.create_workspace(WORKSPACE, "http://test1.com") cls.cat.create_workspace(WORKSPACEB, "http://test2.com")
def tearDownClass(cls): utils.cleanCatalog(cls.cat.catalog)
def tearDownClass(cls): utils.cleanCatalog(cls.cat) utils.cleanDatabase(cls.conn)
def tearDownClass(cls): cleanCatalog(cls.cat)
def tearDownClass(cls): utils.cleanCatalog(cls.cat) utils.cleanDatabase(cls.conn) super(DeleteTests, cls).tearDownClass() QSettings().setValue("/OpenGeo/Settings/General/ConfirmDelete", cls.confirmDelete)