Skip to content

Commit aef205d

Browse files
author
CM Lubinski
committed
Testing covers Django 1.7
1 parent 26f3cbe commit aef205d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_backend.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
from django.conf import global_settings
1+
from django.conf import global_settings, settings
22
from mock import patch, Mock
33
from nose.tools import eq_, raises
44

5+
# Initialize django 1.7
6+
settings.configure()
7+
global_settings.configured = True
8+
59

610
@patch('django.conf.settings', global_settings)
711
def test_patch_params():

0 commit comments

Comments
 (0)