Skip to content

Commit

Permalink
Fix test suite for Django 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmuellegger committed Dec 24, 2015
1 parent 2c01db8 commit 03ca784
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions django_mobile_tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ def test_load_template_on_filesystem(self):
@patch.object(app_directories.Loader, 'load_template')
@patch.object(filesystem.Loader, 'load_template')
def testing(filesystem_loader, app_directories_loader):
filesystem_loader.side_effect = TemplateDoesNotExist()
app_directories_loader.side_effect = TemplateDoesNotExist()
filesystem_loader.side_effect = TemplateDoesNotExist('error')
app_directories_loader.side_effect = TemplateDoesNotExist('error')

from django_mobile.loader import Loader
loader = Loader(get_engine())
Expand Down Expand Up @@ -127,8 +127,8 @@ def test_load_template_source_on_filesystem(self):
@patch.object(app_directories.Loader, 'load_template_source')
@patch.object(filesystem.Loader, 'load_template_source')
def testing(filesystem_loader, app_directories_loader):
filesystem_loader.side_effect = TemplateDoesNotExist()
app_directories_loader.side_effect = TemplateDoesNotExist()
filesystem_loader.side_effect = TemplateDoesNotExist('error')
app_directories_loader.side_effect = TemplateDoesNotExist('error')

from django_mobile.loader import Loader
loader = Loader(get_engine())
Expand Down

0 comments on commit 03ca784

Please sign in to comment.