changeset 28:d4f0c1c4d0eb

all that fuss over a missing "s"
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 06 May 2010 16:48:43 -0700
parents 5988a15da3b4
children 105ecbac0928
files profilemanager/tests/test.py profilemanager/tests/test_profilemanager.txt
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/profilemanager/tests/test.py	Thu May 06 16:47:12 2010 -0700
+++ b/profilemanager/tests/test.py	Thu May 06 16:48:43 2010 -0700
@@ -13,7 +13,7 @@
                if test.endswith('.txt') ]
 
     for test in tests:
-        doctest.testfile(test, raise_on_error=True)
+        doctest.testfile(test)
 
 if __name__ == '__main__':
     run_tests()
--- a/profilemanager/tests/test_profilemanager.txt	Thu May 06 16:47:12 2010 -0700
+++ b/profilemanager/tests/test_profilemanager.txt	Thu May 06 16:48:43 2010 -0700
@@ -9,10 +9,9 @@
 Get the path to the test profiles.ini file:
 
     >>> from pkg_resources import resource_filename
-    >>> profiles_dir = os.path.join('test', 'profiles')
+    >>> profiles_dir = os.path.join('tests', 'profiles')
     >>> path = os.path.join(profiles_dir, 'profiles.ini')
     >>> profiles = resource_filename('profilemanager', path)
-    >>> print profiles
     >>> profiles_dir = resource_filename('profilemanager', profiles_dir)
     >>> os.path.exists(profiles)
     True