[svn r58309] fix a test, add a comment (pysvnwcrevert cannot be invoked generically)
--HG-- branch : trunk
This commit is contained in:
parent
cc10d84088
commit
6cdd88eef6
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue