← Back to team overview

zeitgeist team mailing list archive

[Bug 605409] [NEW] testcase ZeitgeistRemoteAPITest.testFindRelated fails, wrong order of retuned uris

 

Public bug reported:

Running this testcase in lp:zeitgeist revno 1515 indicates an error:

markus@thekorn ~/devel/zeitgeist/trunk % test/remote-test.py -v ZeitgeistRemoteAPITest.testFindRelated                                                                      :(
testFindRelated (__main__.ZeitgeistRemoteAPITest) ... Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 576, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "test/remote-test.py", line 292, in callback
    self.assertEquals(uris, ["i2", "i1", "i3", "i5"])
  File "/usr/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: dbus.Array([dbus.String(u'i3'), dbus.String(u'i2'), dbus.String(u'i1'), dbus.String(u'i5')], signature=dbus.Signature('s')) != ['i2', 'i1', 'i3', 'i5']
ok

----------------------------------------------------------------------
Ran 1 test in 3.046s

OK


(the fact that this error does not cause a failure/error in the testsuite is a different issue and will be fixed with the fix of bug 595411)

** Affects: zeitgeist
     Importance: Undecided
         Status: New

-- 
testcase ZeitgeistRemoteAPITest.testFindRelated fails, wrong order of retuned uris
https://bugs.launchpad.net/bugs/605409
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: New

Bug description:
Running this testcase in lp:zeitgeist revno 1515 indicates an error:

markus@thekorn ~/devel/zeitgeist/trunk % test/remote-test.py -v ZeitgeistRemoteAPITest.testFindRelated                                                                      :(
testFindRelated (__main__.ZeitgeistRemoteAPITest) ... Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 576, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "test/remote-test.py", line 292, in callback
    self.assertEquals(uris, ["i2", "i1", "i3", "i5"])
  File "/usr/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: dbus.Array([dbus.String(u'i3'), dbus.String(u'i2'), dbus.String(u'i1'), dbus.String(u'i5')], signature=dbus.Signature('s')) != ['i2', 'i1', 'i3', 'i5']
ok

----------------------------------------------------------------------
Ran 1 test in 3.046s

OK


(the fact that this error does not cause a failure/error in the testsuite is a different issue and will be fixed with the fix of bug 595411)





Follow ups

References