Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Erb <steve-e@h3c.de>2009-12-06 00:26:48 +0300
committerStephan Erb <steve-e@h3c.de>2009-12-06 00:26:48 +0300
commit79b226d3f87eb6a8f043a853d9db734b1d7e4722 (patch)
tree24398086744e7c2ac1b206c5befb7f88977abcf8 /test/integration
parent228678d6e8a73913e3ab361f67ec4c1517846e2a (diff)
Make tests run again.
Missed to reflect API changes in the tests.
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/test_gui_event_integration.py2
-rw-r--r--test/integration/test_roster.py2
2 files changed, 2 insertions, 2 deletions
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()