Skip to content

Commit

Permalink
Make sure tests run in a generic environment
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Aug 26, 2010
1 parent 72cc433 commit 8203059
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions djangodblog/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ def testSignals(self):

class DBLogFeedsTest(TestCase):
fixtures = ['djangodblog/tests/fixtures/feeds.json']
urls = 'djangodblog.tests.urls'

def testErrorFeed(self):
response = self.client.get(reverse('dblog-feed-messages'))
Expand Down
2 changes: 1 addition & 1 deletion runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# No fucking idea why I have to do this
'djangodblog.tests',
],
ROOT_URLCONF='djangodblog.tests.urls',
ROOT_URLCONF='',
)

from django.test.simple import run_tests
Expand Down

0 comments on commit 8203059

Please sign in to comment.