From 79b226d3f87eb6a8f043a853d9db734b1d7e4722 Mon Sep 17 00:00:00 2001 From: Stephan Erb Date: Sat, 5 Dec 2009 22:26:48 +0100 Subject: Make tests run again. Missed to reflect API changes in the tests. --- test/integration/test_gui_event_integration.py | 2 +- test/integration/test_roster.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/integration') diff --git a/test/integration/test_gui_event_integration.py b/test/integration/test_gui_event_integration.py index 8759e2259..a1eadea60 100644 --- a/test/integration/test_gui_event_integration.py +++ b/test/integration/test_gui_event_integration.py @@ -28,7 +28,7 @@ class TestStatusChange(unittest.TestCase): def setUp(self): gajim.connections = {} - gajim.contacts = contacts_module.Contacts() + gajim.contacts = contacts_module.LegacyContactsAPI() gajim.interface.roster = roster_window.RosterWindow() for acc in contacts: diff --git a/test/integration/test_roster.py b/test/integration/test_roster.py index acb91b71c..0be85aa11 100644 --- a/test/integration/test_roster.py +++ b/test/integration/test_roster.py @@ -27,7 +27,7 @@ class TestRosterWindow(unittest.TestCase): # Add after creating RosterWindow # We want to test the filling explicitly - gajim.contacts = contacts_module.Contacts() + gajim.contacts = contacts_module.LegacyContactsAPI() gajim.connections = {} self.roster = roster_window.RosterWindow() -- cgit v1.2.3