Files
test-auth/test.py

10 lines
160 B
Python

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