Skip to content

Commit

Permalink
settings options to control which tests to run
Browse files Browse the repository at this point in the history
SOCIAL_AUTH_TEST_TWITTER, SOCIAL_AUTH_TEST_GOOGLE, SOCIAL_AUTH_TEST_FACEBOOK
  • Loading branch information
cassus committed Aug 17, 2011
1 parent 759c5a2 commit 7721e65
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions social_auth/tests/__init__.py
@@ -1,3 +1,8 @@
from social_auth.tests.twitter import *
from social_auth.tests.facebook import *
from social_auth.tests.google import *
from django.conf import settings

if getattr(settings,'SOCIAL_AUTH_TEST_TWITTER', True):
from social_auth.tests.twitter import *
if getattr(settings,'SOCIAL_AUTH_TEST_FACEBOOK', True):
from social_auth.tests.facebook import *
if getattr(settings,'SOCIAL_AUTH_TEST_GOOGLE', True):
from social_auth.tests.google import *

0 comments on commit 7721e65

Please sign in to comment.