HEX
Server: Apache
System: Linux beluga.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: sc3naki1272 (1113)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: //opt/alt/python27/lib/python2.7/site-packages/xmlrunner/extra/djangotestrunner.pyc
�
�	Wc@sXdZddlZddlZddlmZddlmZdefd��YZdS(s�
Custom Django test runner that runs the tests using the
XMLTestRunner class.

This script shows how to use the XMLTestRunner in a Django project. To learn
how to configure a custom TestRunner in a Django project, please read the
Django docs website.
i����N(tsettings(tDiscoverRunnert
XMLTestRunnercBseZd�ZRS(c
Ks|}ttdd�}t|t�r4d
|}nttdt�}ttdd�}ttdd�}td|d	|d
|j�}|dk	r�tj	j
||�}t|d��#}	tj
d|	|�j|�SWdQXntj
d||�j|�SdS(NtTEST_OUTPUT_VERBOSEiitTEST_OUTPUT_DESCRIPTIONStTEST_OUTPUT_DIRt.tTEST_OUTPUT_FILE_NAMEt	verbositytdescriptionstfailfasttwbtoutput(ii(tgetattrRt
isinstancetbooltFalsetNonetdictR
tostpathtjointopent	xmlrunnerRtrun(
tselftsuitetkwargstdummyRR	t
output_dirtsingle_filet	file_pathtxml((sQ/opt/alt/python27/lib/python2.7/site-packages/xmlrunner/extra/djangotestrunner.pyt	run_suites"
		(t__name__t
__module__R!(((sQ/opt/alt/python27/lib/python2.7/site-packages/xmlrunner/extra/djangotestrunner.pyRs(	t__doc__Rtos.pathRtdjango.confRtdjango.test.runnerRR(((sQ/opt/alt/python27/lib/python2.7/site-packages/xmlrunner/extra/djangotestrunner.pyt<module>
s