Comment 2 for bug 463321

Revision history for this message
Duncan McGreggor (oubiwann) wrote :

[1] As discussed on IRC, I'm getting an error (on Intrepid) when running the test suite:

===============================================================================
[FAIL]: landscape.tests.subunit.RemotedTestCase.test_upgrade_with_env_variables

Traceback (most recent call last):
Failure: landscape.tests.subunit.RemoteException: Traceback (most recent call last):
  File "/home/oubiwann/lab/Twisted/trunk/twisted/internet/defer.py", line 326, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/tmp/merge_test/landscape/package/tests/test_releaseupgrader.py", line 257, in check_result
    "result-code": 0}])
  File "/tmp/merge_test/landscape/tests/helpers.py", line 76, in assertMessages
    self.assertMessage(obtained_message, expected_message)
  File "/tmp/merge_test/landscape/tests/helpers.py", line 70, in assertMessage
    pprint.pformat(obtained)))
FailTest: Messages don't match.
Expected:
{'operation-id': 100,
 'result-code': 0,
 'result-text': u'DEBUG_UPDATE_MANAGER=True\nRELEASE_UPRADER_ALLOW_THIRD_PARTY=True\n',
 'status': 6,
 'type': 'operation-result'}
Obtained:
{'operation-id': 100,
 'result-code': 0,
 'result-text': u'DEBUG_UPDATE_MANAGER=True\nRELEASE_UPRADER_ALLOW_THIRD_PARTY=True\nSHLVL=1\n_=/usr/bin/env\n',
 'status': 6,
 'type': 'operation-result'}

===============================================================================

With a test tweak, +1