# HG changeset patch # User Jeff Hammel # Date 1273189723 25200 # Node ID d4f0c1c4d0ebc015764fe59c475c750eb91c63e8 # Parent 5988a15da3b4b4b0958d9d1a39422fc4f0ad27c9 all that fuss over a missing "s" diff -r 5988a15da3b4 -r d4f0c1c4d0eb profilemanager/tests/test.py --- 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() diff -r 5988a15da3b4 -r d4f0c1c4d0eb profilemanager/tests/test_profilemanager.txt --- 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