+
    ij  c                   t    ^ RI t^ RIHu Ht ^ RIHtHt ^ RI	H
t
 ^ RIHt  ! R R4      tR R ltR	 R
 ltR# )    N)EngineInputDocument)OllamaResult)transcription_promptc                   6   a  ] tR t^t o RtV 3R lR ltRtV tR# )
FakeClientzmodelo-testec                ,   < V ^8  d   QhRS[ RS[RS[/# )   imagepromptreturn)bytesstrr   )format__classdict__s   ",/Volumes/www/pataniscAI/tests/test_engine.py__annotate__FakeClient.__annotate__	   s"     6 6 6s 6| 6    c                   R q1V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      /,          pRRV/,          p\        \         P                  ! V4      4      hR;rCRqwV9   q3'       g   \         P                  ! RV3RWr34      R\         P
                  ! V4      RR	\        P                  ! 4       9   g   \         P                  ! V4      '       d   \         P
                  ! V4      MR	/,          pRRV/,          p\        \         P                  ! V4      4      hR;rs\        R
^R4      # )   imagempy0r
   py3assert %(py5)spy5NzNao expliquespy1r   NISS 123i ==)z%(py0)s == %(py3)sinz%(py1)s in %(py3)s)	
@pytest_ar_call_reprcompare@py_builtinslocals_should_repr_global_name	_safereprAssertionError_format_explanationr   )selfr
   r   @py_assert2@py_assert1@py_format4@py_format6@py_assert0s   &&&     r   
transcribeFakeClient.transcribe	   s    !!	!!!!!u!!!!!!u!!!!u!!!	!!!!!!!!(&((((((((((((((&((((&((((((((J955r    N)__name__
__module____qualname____firstlineno__modelr0   __static_attributes____classdictcell__)r   s   @r   r   r      s     E6 6r   r   c                    V ^8  d   QhRR/# r	   r   Nr2   )r   s   "r   r   r      s     4 4T 4r   c                  0   \        \        4       4      P                  \        R RRR4      .4      p V R,          pRq!VJ q3'       gy   \        P
                  ! RV3RW34      R\        P                  ! V4      R\        P                  ! V4      /,          pRR	V/,          p\        \        P                  ! V4      4      hR
;p;r2V R,          p/ q!V8H  q3'       gy   \        P
                  ! RV3RW34      R\        P                  ! V4      R\        P                  ! V4      /,          pRR	V/,          p\        \        P                  ! V4      4      hR
;p;r2V R,          ^ ,          R,          pRq!V8H  q3'       gy   \        P
                  ! RV3RW34      R\        P                  ! V4      R\        P                  ! V4      /,          pRR	V/,          p\        \        P                  ! V4      4      hR
;p;r2V R,          ^ ,          R,          pRq!VJ q3'       gy   \        P
                  ! RV3RW34      R\        P                  ! V4      R\        P                  ! V4      /,          pRR	V/,          p\        \        P                  ! V4      4      hR
;p;r2R
# )zdoc-1z	verso.pngcc_versor   successTr   py4zassert %(py6)spy6Nresultstranscriptionstextr   	documentsocr_ok)is)z%(py1)s is %(py4)sr   )z%(py1)s == %(py4)s)	r   r   extractr   r"   r#   r'   r(   r)   )resultr/   @py_assert3r+   @py_format5@py_format7s         r   Ctest_engine_returns_transcription_without_logging_or_parsing_fieldsrL      s   JL!))	wZ	CDF )$$$$$$$$$$$$$$$$$$$$$)""""""""""""""""""""""#A&v.<*<*<<<<<.<<<.<<<*<<<<<<<<+q!(+3t3t33333+333+333t33333333r   c                    V ^8  d   QhRR/# r;   r2   )r   s   "r   r   r      s     % % %r   c                     \        R 4      p RqV 9   q"'       g   \        P                  ! R
V3RW34      R\        P                  ! V4      RR\        P
                  ! 4       9   g   \        P                  ! V 4      '       d   \        P                  ! V 4      MR/,          pRRV/,          p\        \        P                  ! V4      4      hR;rRqV 9   q"'       g   \        P                  ! R
V3RW34      R\        P                  ! V4      RR\        P
                  ! 4       9   g   \        P                  ! V 4      '       d   \        P                  ! V 4      MR/,          pRRV/,          p\        \        P                  ! V4      4      hR;rR	qV 9   q"'       g   \        P                  ! R
V3RW34      R\        P                  ! V4      RR\        P
                  ! 4       9   g   \        P                  ! V 4      '       d   \        P                  ! V 4      MR/,          pRRV/,          p\        \        P                  ! V4      4      hR;rR# )rc_validadezVIGENTE ATEr   r   r   r   r   NzNao uses outras datasz[NAO_LEGIVEL]r   r!   )	r   r"   r#   r'   r$   r%   r&   r(   r)   )r   r/   r+   r-   r.   s        r   7test_rc_focused_prompt_forbids_other_dates_and_guessingrP      s(   !-0F"F"""""="""=""""""F""""F""""""""",f,,,,,",,,",,,,,,f,,,,f,,,,,,,,$f$$$$$?$$$?$$$$$$f$$$$f$$$$$$$$r   )builtinsr$   _pytest.assertion.rewrite	assertionrewriter"   pataniscai.enginer   r   pataniscai.ollamar   pataniscai.promptsr   r   rL   rP   r2   r   r   <module>rX      s'       3 * 36 64%r   