summaryrefslogtreecommitdiff
path: root/tests/test_gmail.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_gmail.py')
-rw-r--r--tests/test_gmail.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_gmail.py b/tests/test_gmail.py
index 199b76ae..b2e70d21 100644
--- a/tests/test_gmail.py
+++ b/tests/test_gmail.py
@@ -5,9 +5,9 @@ import sleekxmpp.plugins.gmail_notify as gmail
class TestGmail(SleekTest):
def setUp(self):
- self.stanzaPlugin(Iq, gmail.GmailQuery)
- self.stanzaPlugin(Iq, gmail.MailBox)
- self.stanzaPlugin(Iq, gmail.NewMail)
+ registerStanzaPlugin(Iq, gmail.GmailQuery)
+ registerStanzaPlugin(Iq, gmail.MailBox)
+ registerStanzaPlugin(Iq, gmail.NewMail)
def testCreateQuery(self):
"""Testing querying Gmail for emails."""