o
    q¦µig  ã                   @   sl   d Z ddlZddlmZmZmZmZmZm	Z	m
Z
 dd„ Zdd„ Zd	d
„ Zdd„ Zdd„ Zdd„ Zdd„ ZdS )zabout.py test casesé    Né   )Ú__version__Ú__description__Ú
__author__Ú__author_email__Ú__license__Ú__url__Úget_infoc                   C   s"   t ttƒsJ ‚t dt¡sJ ‚dS )zVersion test casesz\b\d{1,2}\.\d{1,2}\.\d{1,2}\bN)Ú
isinstancer   ÚstrÚreÚmatch© r   r   úM/home/ubuntu/.local/lib/python3.10/site-packages/urduhack/tests/test_about.pyÚtest_version   s   r   c                   C   ó   t ttƒsJ ‚dS ©ú
test casesN)r
   r   r   r   r   r   r   Útest_description   ó   r   c                   C   r   r   )r
   r   r   r   r   r   r   Útest_author   r   r   c                   C   ó   t ttƒsJ ‚dtv sJ ‚dS )r   ú@N)r
   r   r   r   r   r   r   Útest_author_email   ó   r   c                   C   r   r   )r
   r   r   r   r   r   r   Útest_license   r   r   c                   C   r   )r   Ú.N)r
   r   r   r   r   r   r   Útest_url#   r   r   c                  C   sR   t ƒ } t| tƒs
J ‚|  ¡ D ]	}t|tƒsJ ‚qd}|D ]
}||  ¡ v s&J ‚qdS )zTest get info function)zUrduhack versionÚLocationzPython versionÚPlatformN)r	   r
   ÚdictÚvaluesr   Úkeys)ÚdataÚvaluer"   Ú_keyr   r   r   Útest_get_info)   s   ÿr&   )Ú__doc__Úregexr   Úaboutr   r   r   r   r   r   r	   r   r   r   r   r   r   r&   r   r   r   r   Ú<module>   s   $