+
    }ZjP  c                  d    R t ^ RIHt ^ RIt^ RIHu Ht ^ RI	t	^ RI
HtHtHt R tR tR tR tR# )u?   Tests for shared/capture.py — capture parsing and validation.)annotationsN)CaptureQAExemplarCaptureQuoteload_capturec                 D	   \        R 4      p V P                  qP                  pRq2V8H  qD'       g   \        P                  ! RV3RW#34      RR\
        P                  ! 4       9   g   \        P                  ! V 4      '       d   \        P                  ! V 4      MRR\        P                  ! V4      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR	;p;p;rCV P                  qP                  pR
q2V8H  qD'       g   \        P                  ! RV3RW#34      RR\
        P                  ! 4       9   g   \        P                  ! V 4      '       d   \        P                  ! V 4      MRR\        P                  ! V4      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR	;p;p;rCV P                  qP                  pR
q2V8H  qD'       g   \        P                  ! RV3RW#34      RR\
        P                  ! 4       9   g   \        P                  ! V 4      '       d   \        P                  ! V 4      MRR\        P                  ! V4      R\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR	;p;p;rCV P                  ^ ,          qwP                  pRqHVJ q'       g   \        P                  ! RV	3RW34      R\        P                  ! V4      R\        P                  ! V4      R\        P                  ! V4      /,          p
RRV
/,          p\        \        P                  ! V4      4      hR	;p;p;rV P                   ^ ,          qwP"                  pRqHV8H  q'       g   \        P                  ! RV	3RW34      R\        P                  ! V4      R\        P                  ! V4      R\        P                  ! V4      /,          p
RRV
/,          p\        \        P                  ! V4      4      hR	;p;p;rR	# )	_templatez	your-slugpy0capturepy2py4py7zassert %(py9)spy9N	generatedTpy1py3py6zassert %(py8)spy8model-memory==)zJ%(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.manifest
}.slug
} == %(py7)s)zR%(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.manifest
}.voice_policy
} == %(py7)s)zI%(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.voice
}.policy
} == %(py7)s)is)z1%(py3)s
{%(py3)s = %(py1)s.synthetic
} is %(py6)s)z2%(py3)s
{%(py3)s = %(py1)s.provenance
} == %(py6)s)r   manifestslug
@pytest_ar_call_reprcompare@py_builtinslocals_should_repr_global_name	_safereprAssertionError_format_explanationvoice_policyvoicepolicyqa_exemplars	syntheticquotes
provenance)r   @py_assert1@py_assert3@py_assert6@py_assert5@py_format8@py_format10@py_assert0@py_assert2@py_assert4@py_format7@py_format9s               B/Users/jameslopez/projects/MentorCore/tests/shared/test_capture.py%test_load_template_capture_round_tripr3   	   s   ;'G/  /K/K///// //////7////7////// ///K////////7((7K7K77777(777777777777777777(777K77777777==..;.;...........7....7...=......;........"4,,4444444,444"444,44444444444>>!9''9>9>99999'999999'999>99999999    c                     \         P                  ! \        4      ;_uu_ 4        \        P                  ! R RRRRRRR/4       RRR4       R#   + '       g   i     R# ; i)	idq001textVerbatim text.sourceSourcer&   verifiedN)pytestraises	Exceptionr   model_validate r4   r2   /test_capture_quote_rejects_verified_without_urlrB      sH    	y	!	!##f((j		
 
"	!	!	!s   AA	c                    \         P                  ! R RRRRRRRRR	/4      p V P                  pR	q!V8H  q3'       g   \        P                  ! RV3RW34      R
R\
        P                  ! 4       9   g   \        P                  ! V 4      '       d   \        P                  ! V 4      MRR\        P                  ! V4      R\        P                  ! V4      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p;r2R# )r6   r7   r8   r9   r:   r;   r&   r   
verify_urlzhttps://example.comr   quoter	   py5zassert %(py7)sr   Nr   )z2%(py2)s
{%(py2)s = %(py0)s.verify_url
} == %(py5)s)r   r@   rD   r   r   r   r   r   r   r   r   )rE   r'   r/   r(   @py_format6r+   s         r2   0test_capture_quote_accepts_model_memory_with_urlrH      s    ''&$h./	
E 444444444444444544445444444444444444r4   c                     \         P                  ! \        4      ;_uu_ 4        \        P                  ! R RRRRRRR.RR	R
R/4       RRR4       R#   + '       g   i     R# ; i)r6   x001questionzQ?answerzA.topicstagr$   Fregisterzcoaching-conversationalN)r=   r>   r?   r   r@   rA   r4   r2   +test_capture_exemplar_rejects_non_syntheticrP   +   sT    	y	!	!((fD$5'U5		
 
"	!	!	!s   $AA"	)__doc__
__future__r   builtinsr   _pytest.assertion.rewrite	assertionrewriter   r=   shared.capturer   r   r   r3   rB   rH   rP   rA   r4   r2   <module>rX      s,    E "    H H:	

5
r4   