
    h                     R    d dl mZmZ d dlZd dlmZ  G d dej                        Zy)    )TransportDetailsSessionDetailsN)TRANSPORT_DETAILS_1c                       e Zd Zd Zd Zy)TestSessionDetailsc                     t               }|j                         }| j                  |d d d d d d d d d d d d d       t        j                  |      }| j                  ||       y )Nrealmsessionauthidauthrole
authmethodauthprovider	authextra
serializer	transportresumed	resumableresume_token)r   marshalassertEqualparse)selfsd1datasd2s       h/var/www/Befach/backend/env/lib/python3.12/site-packages/autobahn/wamp/test/test_wamp_session_details.py
test_emptyzTestSessionDetails.test_empty%   sp    {{}   
 	 ""4(c"    c                    t               }t        j                  t              }d|_        d|_        d|_        d|_        d|_        d|_	        dg dd	|_
        d
|_        ||_        d|_        d|_        d|_        |j!                         }| j#                  ||j                  |j
                  |j                  |j                  |j                  |j                  |j                  |j                  |j                  j!                         |j                  |j                  |j                  d       t        j                  |      }| j#                  ||       y )Nrealm1i  homeruserwampcrastaticbar)         )foobazjsonFTz$8713e25a-d4f5-48b7-9d6d-eda66603a1abr	   )r   r   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   )r   r   td1r   r   s        r   test_attributesz"TestSessionDetails.test_attributes9   s   $$%89	
"# %i8A{{}YY{{jj..,,....0{{,, 
 	 ""4(c"r   N)__name__
__module____qualname__r   r.    r   r   r   r   #   s    #(#r   r   )autobahn.wamp.typesr   r   unittest.autobahn.wamp.test.test_wamp_transport_detailsr   TestCaser   r2   r   r   <module>r7      s&   6 A  O5#** 5#r   