From c5d7d0825e58bd3b8c9f286a48d76b776e023801 Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Thu, 11 Jan 2007 05:12:06 +0000 Subject: edit test-notes svn path=/main/trunk/; revision=5539 --- TEST-NOTES | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'TEST-NOTES') 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. -- cgit v1.2.3-18-g5258