+
    Vj              !          R t ^ RIt^ RIHt ^ RIHt ^ RIHt ]P                  P                  RRRRR	R
RRRR
RRRR
RRRR
RRRRRRRR
RR/R3RRRR	R
RRRR
RRRR
RRRR
RRRR
RRRR
RR/R3RRRR	R
RRRR
RRRR
RRRR
RRRR
RR RR
RR/R!3R"RRR	R
RRRR
RRRR
RRRR
RRRR
RR RR
RR#/R$3.. R1OR%7      R& R' l4       t
R( R) ltR*RR+RR,RR-R.R/RR0R RR#/tR# )2zTests for admin view.NClient)reverse)ModelWithConstraintz(constraint_type,post_data,expected_errorunique_together	title1_en1	title1_deAndere	title2_enOther	title2_de	title3_en	title3_de	title4_en	title4_desub_title1_enOnesub_title1_deEinsub_title2_ensub_title2_deemailzyou@example.comzOModel with constraint with this Title1 [en] and Sub title1 [en] already exists.single_field2z;Model with constraint with this Title2 [en] already exists.multi_field3TwozOModel with constraint with this Title3 [en] and Sub title2 [en] already exists.partial_fieldme@example.comzEModel with constraint with this Title3 [en] and Email already exists.)idsc                H    V ^8  d   QhR\         R\        R\        R\        /# )   admin_clientconstraint_type	post_dataexpected_error)r   strdict)formats   "\/var/www/idalgo/venv/lib/python3.14/site-packages/modeltranslation/tests/test_admin_views.py__annotate__r+   \   s,     ' ''+.';?'QT'    c                    \         P                  P                  ! R/ \        B  \	        R4      pV P                  WB4      pW5P                  R,          ^ ,          9   g   Q hVP                  ^8X  g   Q hR# )z9Constraint error handling for different constraint types.#admin:tests_modelwithconstraint_adderrorsN )r   objectscreate_INITIAL_DATAr   postcontextstatus_code)r#   r$   r%   r&   urlresponses   &&&&  r*   'test_create_duplicate_constraint_errorsr9   
   sg    l &&77
7
8C  0H--h7::::3&&&r,   c                $    V ^8  d   QhR\         /# )r"   r#   r   )r)   s   "r*   r+   r+   g   s     ' 'F 'r,   c                    \         P                  P                  ! R/ \        B  \	        R4      pV P                  VRRRRRRRRRRR	R	R
RRRRRRRRR/4      pVP                  R8X  g   Q hR# )z*Non-conflicting submission should succeed.r.   title_enr   title_der   r	   r   r   r   r   r   r   r
   r   r   r   r   i.  Nr0   )r   r1   r2   r3   r   r4   r6   )r#   r7   r8   s   &  r*   !test_create_no_duplicate_succeedsr>   g   s    &&77
7
8C  WXWX%	
H  3&&&r,   title1title2title3title44
sub_title1
sub_title2)r   r   r   r   )__doc__pytestdjango.testr   django.urlsr   modeltranslation.tests.modelsr   markparametrizer9   r>   r3   r0   r,   r*   <module>rM      s       = . SXWXWXWX* ^#	
( WXSXWXWX* J#	
( WXWXSXWX* ^#	
( WXWXSXWX) T#	
uM\ 	La  Qd'eQd''2 cccc%%r,   