
    $$}g                         d dl Z d dlZd dlZddlmZmZ dZdZdZdZ	 e j
        e          Z G d d	ej                  ZdS )
    N   )internet_available_onlylog_infozArtur Barseghyanz2013-2023 Artur BarseghyanzGPL 2.0/LGPL 2.1)TestCommandsc                   d    e Zd ZdZd Zeed                         Zeed                         ZdS )r   zTld commands tests.c                     dS )zSet up.N )selfs    W/var/www/py-google-trends/myenv/lib/python3.11/site-packages/tld/tests/test_commands.pysetUpzTestCommands.setUp   s          c                     t          j        dg                                          }|                     |d           |S )6Test updating the tld names (re-fetch mozilla source).update-tld-namesr   
subprocesscheck_outputstripassertEqualr
   ress     r   test_1_update_tld_names_commandz,TestCommands.test_1_update_tld_names_command   s?     %'9&:;;AACCc"""
r   c                     t          j        ddg                                          }|                     |d           |S )r   r   mozillar   r   r   s     r   'test_1_update_tld_names_mozilla_commandz4TestCommands.test_1_update_tld_names_mozilla_command   sA     %'99&EFFLLNNc"""
r   N)	__name__
__module____qualname____doc__r   r   r   r   r   r	   r   r   r   r      su             X    X   r   r   )loggingr   unittestbaser   r   
__author____copyright____license____all__	getLoggerr   LOGGERTestCaser   r	   r   r   <module>r*      s          3 3 3 3 3 3 3 3
, 
		8	$	$    8$     r   