U
    ÝÁ]|  ã                   @   s>   d Z ddlZddlmZ G dd„ dejƒZedkr:e ¡  dS )zUnit test for os module.é    N)Úosc                   @   s   e Zd ZdZdd„ ZdS )ÚOsTestzUnit tests for os module.c                 C   s>   dD ]}|   ttt|ƒ¡ qdD ]}|   tttj|ƒ¡ q d S )N)
ÚchmodÚchownÚopenÚmkdirÚmakedirsÚrenameÚreplaceÚaccessÚstatÚfstat)Úrealpath)ZassertRaisesÚRuntimeErrorÚgetattrr   Úpath)ÚselfÚmethod© r   ú>/usr/lib/python3/dist-packages/certbot/tests/compat/os_test.pyÚtest_forbidden_methods	   s    zOsTest.test_forbidden_methodsN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r      s   r   Ú__main__)r   ZunittestZcertbot.compatr   ZTestCaser   r   Úmainr   r   r   r   Ú<module>   s
   