See
<http://robot.radiaatto.ri.fi/hudson/job/RobotFramework%20Unit%20Tests/43/changes>
Changes:
[Pekka Klärck] utils.importing -> utils.importer
[Pekka Klärck] normalize path to listener to ease testing (actually to fix
tests)
[Pekka Klärck] Re-implemented importing modules/classes used as test libs and
listeners.
Update issue 979
Importing refactoring is now done except for some further cleanup and testing
of error messages. I'm pretty sure this problem has also been fixed but it
still needs explicit tests.
[Pekka Klärck] Added details attribute to all RobotErrors. Made
RemoteError.traceback unnecessary.
------------------------------------------
Started by an SCM change
[workspace] $ hg incoming --quiet --bundle hg.bundle --template "<changeset
node='{node}' author='{author|xmlescape}' rev='{rev}'
date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n"
--rev default
[workspace] $ hg unbundle hg.bundle
adding changesets
adding manifests
adding file changes
added 4 changesets with 16 changes to 13 files
(run 'hg update' to get a working copy)
[workspace] $ hg update --clean --rev default
12 files updated, 0 files merged, 3 files removed, 0 files unresolved
[workspace] $ hg log --rev . --template {node}
[workspace] $ /bin/bash -xe /tmp/hudson5775986072097782302.sh
+ python utest/run_utests.py
...............................................................................................................................................................................................................................................................................................................................................................................................F.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_import_file_by_path (test_importer_util.TestImportClassOrModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"<http://robot.radiaatto.ri.fi/hudson/job/RobotFramework%20Unit%20Tests/ws/utest/utils/test_importer_util.py",>
line 184, in test_import_file_by_path
assert_equals(normpath(module.__file__), normpath(expected.__file__))
File
"<http://robot.radiaatto.ri.fi/hudson/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",>
line 181, in fail_unless_equal
_report_unequality_failure(first, second, msg, values, '!=')
File
"<http://robot.radiaatto.ri.fi/hudson/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",>
line 244, in _report_unequality_failure
_report_failure(msg)
File
"<http://robot.radiaatto.ri.fi/hudson/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",>
line 230, in _report_failure
raise AssertionError(msg)
AssertionError:
<http://robot.radiaatto.ri.fi/hudson/job/RobotFramework%20Unit%20Tests/ws/atest/testresources/testlibs/bytelib.pyc>
!=
<http://robot.radiaatto.ri.fi/hudson/job/RobotFramework%20Unit%20Tests/ws/atest/testresources/testlibs/bytelib.py>
----------------------------------------------------------------------
Ran 1093 tests in 2.036s
FAILED (failures=1)
Build step 'Execute shell' marked build as failure