← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 310: Fix test case.

 

------------------------------------------------------------
revno: 310
committer: Siegfried-Angel Gevatter Pujals <siegfried@xxxxxxxxxxxx>
branch nick: bluebird
timestamp: Thu 2011-10-13 16:13:58 +0200
message:
  Fix test case.
modified:
  test/dbus/remote-test.py


--
lp:~zeitgeist/zeitgeist/bluebird
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'test/dbus/remote-test.py'
--- test/dbus/remote-test.py	2011-10-12 19:20:10 +0000
+++ test/dbus/remote-test.py	2011-10-13 14:13:58 +0000
@@ -186,9 +186,9 @@
 		results = self.findEventsForTemplatesAndWait([], num_events=5)
 		self.assertEquals(3, len(results))
 
-		self.assertEquals(len(results[0].get_subjects()), 2)
-		self.assertEquals(len(results[1].get_subjects()), 1)
-		self.assertEquals(len(results[1].get_subjects()), 1)
+		self.assertEquals(len(results[2].get_subjects()), 2)
+		self.assertEquals(len(results[1].get_subjects()), 1)
+		self.assertEquals(len(results[0].get_subjects()), 1)
 
 	def testFindEventsLimitWhenDuplicates(self):
 		events = parse_events("test/data/three_events.js")