diff options
author | Alec Warner <antarus@gentoo.org> | 2007-01-11 05:12:06 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2007-01-11 05:12:06 +0000 |
commit | c5d7d0825e58bd3b8c9f286a48d76b776e023801 (patch) | |
tree | f9e9cbd23a60fbf95be2bbbf71393eecd43441f4 | |
parent | 60a6e3c019d9eda546d97dd373a4c6cfee0fed46 (diff) | |
download | portage-c5d7d0825e58bd3b8c9f286a48d76b776e023801.tar.gz portage-c5d7d0825e58bd3b8c9f286a48d76b776e023801.tar.bz2 portage-c5d7d0825e58bd3b8c9f286a48d76b776e023801.zip |
edit test-notes
svn path=/main/trunk/; revision=5539
-rw-r--r-- | TEST-NOTES | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/TEST-NOTES b/TEST-NOTES index dbdbf20d0..82f342310 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. |