Skip to content

Commit

Permalink
getting tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
smn committed Aug 6, 2015
1 parent 1571d7e commit c586078
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ script:
- flake8 molo
- molo scaffold testapp --include molo.comments ^comments/
- flake8 testapp
- cp test_settings.py testapp/testapp/settings/local.py
- pip install -e testapp
- py.test --cov=molo
after_success:
Expand Down
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ Django setup::

INSTALLED_APPS = (
'threadedcomments',
'django.contrib.comments',
'django_comments',
'django.contrib.sites',
)

In your urls.py::
Expand Down
2 changes: 1 addition & 1 deletion molo/comments/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

urlpatterns = patterns(
'',
url('', include('django.contrib.comments.urls')),
url('', include('django_comments.urls')),
)
9 changes: 9 additions & 0 deletions test_settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from .base import INSTALLED_APPS

INSTALLED_APPS = INSTALLED_APPS + (
'threadedcomments',
'django_comments',
'django.contrib.sites',
)

COMMENTS_APP = 'threadedcomments'

0 comments on commit c586078

Please sign in to comment.