示例#1
0
 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")
示例#2
0
 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
示例#3
0
 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
示例#4
0
 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")
示例#5
0
 def tearDownClass(cls):
     utils.cleanCatalog(cls.cat.catalog)
 def tearDownClass(cls):
     utils.cleanCatalog(cls.cat)
     utils.cleanDatabase(cls.conn)
示例#7
0
 def tearDownClass(cls):
     cleanCatalog(cls.cat)
示例#8
0
 def tearDownClass(cls):
     utils.cleanCatalog(cls.cat)
     utils.cleanDatabase(cls.conn)
     super(DeleteTests, cls).tearDownClass()
     QSettings().setValue("/OpenGeo/Settings/General/ConfirmDelete", cls.confirmDelete)
 def tearDownClass(cls):
     utils.cleanCatalog(cls.cat)
     utils.cleanDatabase(cls.conn) 
示例#10
0
 def tearDownClass(cls):
     utils.cleanCatalog(cls.cat.catalog)
示例#11
0
 def tearDownClass(cls):
     cleanCatalog(cls.cat)
示例#12
0
 def tearDownClass(cls):
     utils.cleanCatalog(cls.cat)
     utils.cleanDatabase(cls.conn)
     super(DeleteTests, cls).tearDownClass()
     QSettings().setValue("/OpenGeo/Settings/General/ConfirmDelete",
                          cls.confirmDelete)