Files
test-auth/test.py
Andrew Williams 53630f980f Various changes to several aspects of the model base.
* Added SSOUser extension profile for auth
* Now checks for Corp membership and executes required commands
* Various small fixups
2010-02-25 15:49:56 +00:00

10 lines
190 B
Python

import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from sso.models import Service
from sso.services.jabber import JabberService
b = JabberService()
print b.check_user('matalok')