def check_geoserver_is_up():
 url = ('%sweb/' % ogc_server_settings.LOCATION)
 (resp, content) = http_client.request(url, 'GET')
 msg = ('Cannot connect to the GeoServer at %s\nPlease make sure you have started it.' % ogc_server_settings.LOCATION)
 assert (resp['status'] == '200'), msg

def check_geoserver_is_up ( ) : url = ( '%sweb/' % ogc_server_settings . LOCATION ) ( resp , content ) = http_client . request ( url , 'GET' ) msg = ( 'Cannot connect to the GeoServer at %s\nPlease make sure you have started it.' % ogc_server_settings . LOCATION ) assert ( resp [ 'status' ] == '200' ) , msg
verifies all geoserver is running .