Revision: 624571e07271
Author: Pekka Klärck
Date: Fri Dec 23 11:10:10 2011
Log: made test independent on actual import source (.py vs .pyc vs
$py.class) and hopefully fixed build too
http://code.google.com/p/robotframework/source/detail?r=624571e07271
Modified:
/utest/utils/test_importer_util.py
=======================================
--- /utest/utils/test_importer_util.py Fri Dec 23 10:42:38 2011
+++ /utest/utils/test_importer_util.py Fri Dec 23 11:10:10 2011
@@ -181,7 +181,8 @@
import bytelib as expected
module = self._import_module(join(LIBDIR, 'bytelib.py'))
assert_equals(module.__name__, expected.__name__)
- assert_equals(normpath(module.__file__),
normpath(expected.__file__))
+ assert_equals(dirname(normpath(module.__file__)),
+ dirname(normpath(expected.__file__)))
assert_equals(dir(module), dir(expected))
def test_import_class_from_file_by_path(self):