[svn r58309] fix a test, add a comment (pysvnwcrevert cannot be invoked generically)

--HG--
branch : trunk
This commit is contained in:
hpk 2008-09-21 17:24:47 +02:00
parent cc10d84088
commit 6cdd88eef6
2 changed files with 8 additions and 6 deletions

View File

@ -44,6 +44,8 @@ def svnwcrevert(path, root=None, precious=[]):
svnwcrevert(p, root)
# XXX use optparse, and add a functional test
def main():
import sys
if len(sys.argv) < 2:

View File

@ -47,10 +47,10 @@ def test_cmdline_namespace():
def test_script_invocation():
if iswin32:
for script in binwinpath.listdir("py.*"):
assert script.ext == ".cmd"
yield checkprocess, script
scripts = binwinpath.listdir("py.*")
else:
for script in binpath.listdir("py.*"):
yield checkprocess, script
scripts = binpath.listdir("py.*")
scripts = [x for x in scripts
if not x.basename.startswith("py.svnwcrevert")]
for script in scripts:
yield checkprocess, script