projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a0d420
)
Remove / character from module names.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 11 Jan 2007 06:18:50 +0000
(06:18 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 11 Jan 2007 06:18:50 +0000
(06:18 -0000)
svn path=/main/trunk/; revision=5541
tests/__init__.py
patch
|
blob
|
history
diff --git
a/tests/__init__.py
b/tests/__init__.py
index 8d4ea9f0c5e8ee4c9f3c8cbb4709f277f63d3ccf..4ac94383f023ce0bc753d33d7cbdac6a4326a740 100644
(file)
--- a/
tests/__init__.py
+++ b/
tests/__init__.py
@@
-35,7
+35,7
@@
def getTests( path, base_path ):
import os
files = os.listdir( path )
files = [ f[:-3] for f in files if f.startswith("test_") and f.endswith(".py") ]
- parent_path = path[len(base_path):]
+ parent_path = path[len(base_path)
+1
:]
parent_module = ".".join(("tests", parent_path))
result = []
for mymodule in files: