o
    >h                     @   s4   d dl mZ d dlmZ dd ZG dd deZdS )    )mock)ApplicationCommunicatorc                   C   s   d S )N r   r   r   |/var/www/vedio/testing/chatpythonscript.ninositsolution.com/env/lib/python3.10/site-packages/channels/testing/application.pyno_op   s   r   c                       s*   e Zd Z fddZd fdd	Z  ZS )r   c                    D   t dt t |I d H W  d    S 1 sw   Y  d S Nz!channels.db.close_old_connections)r   patchr   super
send_input)selfmessage	__class__r   r   r         $z"ApplicationCommunicator.send_input   c                    r   r   )r   r	   r   r
   receive_output)r   timeoutr   r   r   r      r   z&ApplicationCommunicator.receive_output)r   )__name__
__module____qualname__r   r   __classcell__r   r   r   r   r   
   s    r   N)unittestr   asgiref.testingr   BaseApplicationCommunicatorr   r   r   r   r   <module>   s    