Revision: 3166
Author: jussi.ao.malinen
Date: Wed May 5 02:21:37 2010
Log: fixed path name unit test to work with jython on mac
http://code.google.com/p/robotframework/source/detail?r=3166
Modified:
/trunk/utest/utils/test_misc.py
=======================================
--- /trunk/utest/utils/test_misc.py Wed May 5 01:08:52 2010
+++ /trunk/utest/utils/test_misc.py Wed May 5 02:21:37 2010
@@ -62,9 +62,9 @@
( 'c:\\boot.ini', 'c:\\path\\to\\existing\\file', 'path/to/existing/file' ),
( 'c:\\path\\to\\identity', 'c:\\path\\to\\identity', 'identity' ),
]
-
+ import robot.utils.normalizing
for basedir, target, expected in inputs:
- if sys.platform == 'darwin':
+ if robot.utils.normalizing._CASE_INSENSITIVE_FILESYSTEM :
expected = expected.lower()
assert_equals(get_link_path(target,
basedir).replace('R:', 'r:'), expected,
'%s -> %s' % (target, basedir))