Skip to content

Commit 08ee417

Browse files
committed
Dropping dango-setuptest, kicking off travis via manage.py
1 parent 1644b64 commit 08ee417

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

manage.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env python
2+
import os
3+
os.environ['DJANGO_SETTINGS_MODULE'] = 'test_settings'
4+
from django.core import management
5+
if __name__ == "__main__":
6+
management.execute_from_command_line()

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ def find_package_data(where=".", package="", exclude=standard_exclude,
127127
],
128128
packages=find_packages(exclude=['example']),
129129
package_data=package_data,
130-
tests_require=['django-setuptest', 'argparse'],
131-
test_suite='setuptest.setuptest.SetupTestSuite'
132130
)
133131

134132
if __name__ == '__main__':

test_settings.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# -*- coding: utf-8 -*-
2+
3+
SECRET_KEY = 'psst'
4+
SITE_ID = 1
5+
26
DATABASES = {
37
'default': {
48
'ENGINE': 'django.db.backends.sqlite3',
@@ -10,6 +14,8 @@
1014
}
1115
}
1216

17+
ROOT_URLCONF = 'allauth.urls'
18+
1319
TEMPLATE_CONTEXT_PROCESSORS = (
1420
"django.contrib.auth.context_processors.auth",
1521
"django.core.context_processors.debug",
@@ -38,4 +44,4 @@
3844
'allauth.socialaccount.providers.twitter',
3945
'allauth.socialaccount.providers.openid',
4046
'allauth.socialaccount.providers.facebook',
41-
)
47+
)

0 commit comments

Comments
 (0)