summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-11 05:12:06 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-11 05:12:06 +0000
commitc5d7d0825e58bd3b8c9f286a48d76b776e023801 (patch)
treef9e9cbd23a60fbf95be2bbbf71393eecd43441f4 /TEST-NOTES
parentremove bogs test dir, add portage_versions (diff)
downloadportage-multirepo-c5d7d0825e58bd3b8c9f286a48d76b776e023801.tar.gz
portage-multirepo-c5d7d0825e58bd3b8c9f286a48d76b776e023801.tar.bz2
portage-multirepo-c5d7d0825e58bd3b8c9f286a48d76b776e023801.zip
edit test-notes
svn path=/main/trunk/; revision=5539
Diffstat (limited to 'TEST-NOTES')
-rw-r--r--TEST-NOTES9
1 files changed, 6 insertions, 3 deletions
diff --git a/TEST-NOTES b/TEST-NOTES
index dbdbf20d..82f34231 100644
--- a/TEST-NOTES
+++ b/TEST-NOTES
@@ -19,6 +19,9 @@ tests/portage_versions/test_vercmp.py
would be the filename.
-The __init__.py file in tests only goes 1 deep (it's non-recursive, in other words). If
-you end up with more directories it will probably break at present. Need to replace the
-'/' in the directory path with a '.' (for proper importing). This should be trivial to fix.
+The __init__.py file now does recursive tests, but you need to tell it so. For example, if
+you had cache tests the dir format would be something like...
+
+tests/cache/flat_hash/test_foo.py
+
+and you would put "cache/flat_hash" into the testDirs variable in __init__.py.