From: Alec Warner Date: Thu, 11 Jan 2007 05:12:06 +0000 (-0000) Subject: edit test-notes X-Git-Tag: v2.1.2~92 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c5d7d0825e58bd3b8c9f286a48d76b776e023801;p=portage.git edit test-notes svn path=/main/trunk/; revision=5539 --- 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.