Skip to content

Commit

Permalink
Fix issues with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mishbah committed Sep 6, 2014
1 parent 1bcf594 commit 9f5aa20
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion example/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@
url(r'^current-usersettings/$',
TemplateView.as_view(template_name='example/current-usersettings.html'),
name='current_usersettings'),
url(r'^', include('cms.urls')),
)
1 change: 0 additions & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
-r requirements.txt
django-cms>=3.0
coverage
coveralls
mock>=1.0.1
Expand Down
5 changes: 0 additions & 5 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@
'django.contrib.contenttypes',
'django.contrib.sites',
'django.contrib.messages',
'cms',
'mptt',
'menus',
'south',
'sekizai',
'usersettings',
'example',
],
Expand Down
4 changes: 0 additions & 4 deletions tests/test_shorcuts.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,3 @@ def test_get_current_usersettings(self):
@override_settings(USERSETTINGS_MODEL='SiteSettings')
def test_get_usersettings_model_fails_with_improper_settings(self):
self.assertRaises(ImproperlyConfigured, get_usersettings_model)

@override_settings(USERSETTINGS_MODEL='missing.SiteSettings')
def test_get_usersettings_model_fails_with_missing_app(self):
self.assertRaises(ImproperlyConfigured, get_usersettings_model)

0 comments on commit 9f5aa20

Please sign in to comment.