Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 13.59.104.84
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_commands.pyo
�
?��cc@s�dZddlZddlZddlZddlZddlmZmZmZm	Z	edde
�Zejdkr�ej
d��ndejfd	��YZd
�Zedkr�e�ndS(s0
   Tests for commands module
   Nick Mathewson
i����N(trun_unittestt
reap_childrent
import_moduletcheck_warningstcommandst
deprecatedtposixs!Not posix; skipping test_commandstCommandTestscBseZd�Zd�ZRS(cCs�|jtjd�d�|jtjd�d�d}zNtj�}tjj	|d�}tjd|�\}}|j
|d�Wd|dk	r�tj|�nXdS(Ns
echo xyzzytxyzzyitfooscat (iR(tassertEqualRt	getoutputtgetstatusoutputtNonettempfiletmkdtemptostpathtjointassertNotEqualtrmdir(tselftdirtnametstatustoutput((s9/usr/local/python-2.7/lib/python2.7/test/test_commands.pyttest_getoutputsc	CsKd}tdtf��-|jtj|tjd�tj��WdQXdS(Ns7d.........   # It is a directory.
                  [.+@]?       # It may have special attributes.
                  \s+\d+       # It has some number of links.
                  [^/]*        # Skip user, group, size, and date.
                  /\.          # and end with the name of the file.
               s$.*commands.getstatus.. is deprecateds/.(RtDeprecationWarningt
assertTruetretmatchRt	getstatustVERBOSE(Rtpat((s9/usr/local/python-2.7/lib/python2.7/test/test_commands.pyttest_getstatus,s
(t__name__t
__module__RR"(((s9/usr/local/python-2.7/lib/python2.7/test/test_commands.pyRs	cCstt�t�dS(N(RRR(((s9/usr/local/python-2.7/lib/python2.7/test/test_commands.pyt	test_mainDs
t__main__(t__doc__tunittestRRRttest.test_supportRRRRtTrueRRtSkipTesttTestCaseRR%R#(((s9/usr/local/python-2.7/lib/python2.7/test/test_commands.pyt<module>s$",	
© 2025 GrazzMean