HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib64/python3.6/test/__pycache__/test_syslog.cpython-36.pyc
3


 \��@sDddlmZejd�ZddlZGdd�dej�Zedkr@ej�dS)�)�support�syslogNc@sDeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dS)�TestcCstjd�|jttjd�dS)N�pythonu�)r�openlogZassertRaises�UnicodeEncodeError)�self�r	�#/usr/lib64/python3.6/test_syslog.py�test_openlogs
zTest.test_openlogcCs&tjd�tjd�tjtjd�dS)Nrz$test message from python test_syslogz"test error from python test_syslog)rrZLOG_ERR)rr	r	r
�test_syslogs

zTest.test_syslogcCstjd�tj�dS)Nr)rrZcloselog)rr	r	r
�
test_closelogs
zTest.test_closelogcCstjtj�dS)N)rZ
setlogmaskZ	LOG_DEBUG)rr	r	r
�test_setlogmaskszTest.test_setlogmaskcCstjtj�dS)N)rZLOG_MASK�LOG_INFO)rr	r	r
�
test_log_maskszTest.test_log_maskcCstjtj�dS)N)rZLOG_UPTOr)rr	r	r
�
test_log_upto szTest.test_log_uptocCstj�tjd�dS)Nz$test message from python test_syslog)rr)rr	r	r
�test_openlog_noargs#szTest.test_openlog_noargsN)
�__name__�
__module__�__qualname__rrr
rrrrr	r	r	r
r
sr�__main__)	Ztestr�
import_modulerZunittestZTestCaserr�mainr	r	r	r
�<module>s