Author: jprantan
Date: Mon Nov 24 01:20:14 2008
New Revision: 1069

Modified:
   trunk/utest/utils/test_misc.py

Log:
Added error message if needed C:\temp is not available at Windows.

Modified: trunk/utest/utils/test_misc.py
==============================================================================
--- trunk/utest/utils/test_misc.py      (original)
+++ trunk/utest/utils/test_misc.py      Mon Nov 24 01:20:14 2008
@@ -36,6 +36,7 @@
                 ( '/tmp', '/x/y/z/bar.txt', '../x/y/z/bar.txt' ),
                 ( '/', '/x/bar.txt', 'x/bar.txt' ) ]
         else:
+ assert os.path.isdir('c:\\temp\\'), "This test requires c:\\temp to exist"
             inputs = [
                 ( 'c:\\temp\\', 'c:\\temp\\bar.txt', 'bar.txt' ),
                 ( 'c:\\temp', 'c:\\temp\\x\\bar.txt', 'x/bar.txt' ),

Reply via email to