U
    e»{j­  ć                   @   sT   d dl Z d dlZd dlmZ d dlmZ dd Zdd Zdd	 Zej	j
d
d ZdS )é    N)Śconf©ŚSAMPHubServerc                 C   s
   dt _d S )NF)r   Zuse_internet)Śmodule© r   śZ/var/www/html/bwave/python/venv/lib/python3.8/site-packages/astropy/samp/tests/test_hub.pyŚsetup_module   s    r   c                   C   s   t dddd dS )z%Test that SAMPHub can be instantiatedFŚmultipleé   ©Zweb_profileŚmodeZ	pool_sizeNr   r   r   r   r   Śtest_SAMPHubServer   s    r   c                  C   s,   t dddd} |  ”  t d” |  ”  dS )zTest that SAMPHub can be runFr	   r
   r   N©r   ŚstartŚtimeŚsleepŚstop©Zhubr   r   r   Śtest_SAMPHubServer_run   s    
r   c                  C   sP   t dddd} |  ”  t d” |  ”  t d” |  ”  t d” |  ”  dS )zz
    Test that SAMPHub can be restarted after it has been stopped, including
    when web profile support is enabled.
    Tr	   r
   r   Nr   r   r   r   r   Śtest_SAMPHubServer_run_repeated   s    


r   )r   ZpytestZastropy.sampr   Zastropy.samp.hubr   r   r   r   ŚmarkZslowr   r   r   r   r   Ś<module>   s   