+
    0.j  c                      R t ^ RIt^ RIHu Ht ^ RIt^ RIH	t	H
t
 ^ RIHt ]P                  R 4       t]P                  P                   R 4       t]P                  P                   R 4       t]P                  P                   R 4       tR# )z$Integration tests for API endpoints.N)ASGITransportAsyncClientappc                    "   \        \        R 7      p \        V RR7      ;_uu_4       GRj  xL
 pV5x  RRR4      GRj  xL
  R#  L L  + GRj  xL 
 '       g   i     R# ; i5i)r   zhttp://test)	transportbase_urlN)r   r   r   )r   acs     8C:\xampp\htdocs\tradingbinance\backend\tests\test_api.pyclientr
   	   s;     #&IYGGG2 HGGGGGsI   *A)AA)AA)A
A)
A)A&	A
A&	A&	 	A)c           	      .  "   V P                  R 4      G Rj  xL
 pVP                  p^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      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p;rCVP                  4       pRqV9   q'       g   \        P                  ! RV	3RW3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;rRqV9   q'       g   \        P                  ! RV	3RW3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;rR#  EL{5i)/Npy0responsepy2py5assert %(py7)spy7
disclaimerpy1py3dataassert %(py5)strading_mode==z3%(py2)s
{%(py2)s = %(py0)s.status_code
} == %(py5)sinz%(py1)s in %(py3)sgetstatus_code
@pytest_ar_call_reprcompare@py_builtinslocals_should_repr_global_name	_safereprAssertionError_format_explanationjsonr
   r   @py_assert1@py_assert4@py_assert3@py_format6@py_format8r   @py_assert0@py_assert2@py_format4s   &          r	   	test_rootr4      s    ZZ_$H&&&&&&&&&&&&&&&&&&&&&&&&&&&&&==?D!!!!!!!!!!!!!!!!!!!!!!!!!	 %s%   JJA-JC=JB?JAJc           	        "   V P                  R 4      G Rj  xL
 pVP                  p^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      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p;rCVP                  4       pRqV9   q'       g   \        P                  ! RV	3RW3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;rR#  EL5i)z/api/v1/healthNr   r   r   r   r   r   statusr   r   r   r   r   r   r   r   r   r+   s   &          r	   test_healthr7      s     ZZ 011H&&&&&&&&&&&&&&&&&&&&&&&&&&&&&==?D 2s   GGA-GC=GAGc           	        "   V P                  R 4      G Rj  xL
 pV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      /,          pRRV/,          p\        \        P                  ! V4      4      hR;p;rCR#  L5i)z/api/v1/dashboard/statsNi  r   r   r   r   r   r   r   r   )
r    r!   r"   r#   r$   r%   r&   r'   r(   r)   )r
   r   r,   r-   r.   r/   r0   s   &      r	   test_unauthorized_dashboardr9   !   ss     ZZ 9::H&&&&&&&&&&&&&&&&&&&&&&&&&&&&& ;s   DDA-DA=D)__doc__builtinsr$   _pytest.assertion.rewrite	assertionrewriter"   pytesthttpxr   r   app.mainr   fixturer
   markasyncior4   r7   r9        r	   <module>rG      s    *    ,    " "   ' 'rF   