/usr/lib/python3.9/site-packages/certbot/_internal/tests/plugins/__pycache__
a }|�g� � @ sr d Z ddlZddlmZ ddlZddlmZ dd� Ze�d�dd � �Z e d krne�e�ej dd� eg �� dS )zTests for certbot.plugins.util.� N)�mock)�osc C s ddl m} d S )Nr ��get_prefixes)�certbot.plugins.utilr r � r �M/usr/lib/python3.9/site-packages/certbot/_internal/tests/plugins/util_test.py�test_get_prefix s r z!certbot.plugins.util.logger.debugc C s� ddl m} ddi}tj�d|��@ t�d��}d|_W d � n1 sJ0 Y W d � n1 sh0 Y tjdkr�dd i}tj�d|�� |d � W d � n1 s�0 Y d S )Nr )�path_surgery�PATHz0/usr/local/bin:/bin/:/usr/sbin/:/usr/local/sbin/z os.environzcertbot.util.exe_existsT�ntz/tmp/Zthingy)r r r �patch�dictZreturn_valuer �name)Z mock_debugr Zall_pathZmock_existsZno_pathr r r �test_path_surgery s < r �__main__� )�__doc__�sysZunittestr ZpytestZcertbot.compatr r r r �__name__�exit�main�argv�__file__r r r r �<module> s
.
Edit
..
Edit
__init__.cpython-39.opt-1.pyc
Edit
__init__.cpython-39.pyc
Edit
common_test.cpython-39.opt-1.pyc
Edit
common_test.cpython-39.pyc
Edit
disco_test.cpython-39.opt-1.pyc
Edit
disco_test.cpython-39.pyc
Edit
dns_common_test.cpython-39.opt-1.pyc
Edit
dns_common_test.cpython-39.pyc
Edit
enhancements_test.cpython-39.opt-1.pyc
Edit
enhancements_test.cpython-39.pyc
Edit
manual_test.cpython-39.opt-1.pyc
Edit
manual_test.cpython-39.pyc
Edit
null_test.cpython-39.opt-1.pyc
Edit
null_test.cpython-39.pyc
Edit
selection_test.cpython-39.opt-1.pyc
Edit
selection_test.cpython-39.pyc
Edit
standalone_test.cpython-39.opt-1.pyc
Edit
standalone_test.cpython-39.pyc
Edit
storage_test.cpython-39.opt-1.pyc
Edit
storage_test.cpython-39.pyc
Edit
util_test.cpython-39.opt-1.pyc
Edit
util_test.cpython-39.pyc
Edit
webroot_test.cpython-39.opt-1.pyc
Edit
webroot_test.cpython-39.pyc
Edit