gajim-plural/test/unit/test_account.py
Stephan Erb b4285302db Make the GC_Contacts class 'account insensitive'. Instead, create an Account class which holds a GC_Contacts object.
The API has been preserved. For now the old Contacts() API has not been changed.
2009-11-10 21:08:25 +01:00

19 lines
No EOL
307 B
Python

'''
Tests for Account classes
'''
import unittest
import lib
lib.setup_env()
from common.account import Account
class Test(unittest.TestCase):
def testInstantiate(self):
account = Account(gc_contacts=None)
self.assertTrue(account.gc_contacts is None)
if __name__ == "__main__":
unittest.main()