https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/django/contrib/gis/tests/geoadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/django/contrib/gis/tests/geoadmin/tests.pyc
�
r�\c@@s�ddlmZddlmZddlmZddlmZddlm	Z	ddl
mZer�er�ddlm
Z
ddlmZd	d
lmZndZeeo�ed�d
efd��Y�ZdS(i(tabsolute_import(tHAS_GEOS(tHAS_SPATIAL_DB(tTestCase(toverride_settings(t
skipUnless(tadmin(tPointi(tCitytXXXXs!Geos and spatial db are required.tGeoAdminTestcB@sJeZdZd�Zd�Zd�Zd�Zede�d��Z	RS(s&django.contrib.gis.tests.geoadmin.urlscC@sRtjjt}|jj�}|jtg|D]}|j|k^q/��dS(N(	Rtsitet	_registryRtmediat	render_jst
assertTruetanytopenlayers_url(tselftgeoadmintadmin_jstjs((sI/tmp/pip-install-XxeQeY/django/django/contrib/gis/tests/geoadmin/tests.pyttest_ensure_geographic_mediascC@sWtjjt}|jtjjd���jdtdd��}|j	d|�dS(Ntpointg�u�|�S�g��67�D@sQgeodjango_point.layers.base = new OpenLayers.Layer.OSM("OpenStreetMap (Mapnik)");(
RRRRtget_map_widgett_metat	get_fieldtrenderRtassertIn(RRtresult((sI/tmp/pip-install-XxeQeY/django/django/contrib/gis/tests/geoadmin/tests.pyttest_olmap_OSM_renderingscC@s\tjttj�}|jtjjd���jdtdd��}|j	d|�dS(NRg�u�|�S�g��67�D@s�geodjango_point.layers.base = new OpenLayers.Layer.WMS("OpenLayers WMS", "http://vmap0.tiles.osgeo.org/wms/vmap0", {layers: 'basic', format: 'image/jpeg'});(
Rt
GeoModelAdminRRRRRRRR(RRR((sI/tmp/pip-install-XxeQeY/django/django/contrib/gis/tests/geoadmin/tests.pyttest_olmap_WMS_rendering#scC@s�tjjt}|jd
��}|jdj}tdddd�}d}d}d}|j	|d
|��|j	||d	��|j
|d
d	��|j
|||��|j
|||��|j	|||��d
S(sP
        Check that changes are accurately noticed by OpenLayersWidget.
        Rg�p����*@g87|BJ@tsridi�s5SRID=3857;POINT(1493879.2754093995 6894592.019687599)s5SRID=3857;POINT(1493879.2754093990 6894592.019687590)s0SRID=3857;POINT(1493884.0527237 6894593.8111804)tN(RRRRtget_changelist_formtNonetfieldst_has_changedRRtassertFalse(RRtformthas_changedtinitialt	data_sametdata_almost_sametdata_changed((sI/tmp/pip-install-XxeQeY/django/django/contrib/gis/tests/geoadmin/tests.pyttest_olwidget_has_changed+stGOOGLE_MAPS_API_KEYcC@sFddlm}|�}|j}|jt|�|jd|�dS(sA
        Testing GoogleMap.scripts() output. See #20773.
        i(t	GoogleMaps	new GMap2N(t#django.contrib.gis.maps.google.gmapR0tscriptsRR/(RR0t
google_mapR2((sI/tmp/pip-install-XxeQeY/django/django/contrib/gis/tests/geoadmin/tests.pyttest_google_map_scripts?s
		(
t__name__t
__module__turlsRRR R.RR/R4(((sI/tmp/pip-install-XxeQeY/django/django/contrib/gis/tests/geoadmin/tests.pyR
s				N(t
__future__Rtdjango.contrib.gis.geosRtdjango.contrib.gis.tests.utilsRtdjango.testRtdjango.test.utilsRtdjango.utils.unittestRtdjango.contrib.gisRRtmodelsRR/R
(((sI/tmp/pip-install-XxeQeY/django/django/contrib/gis/tests/geoadmin/tests.pyt<module>s

https://t.me/AnonymousX5 - 2025