Skip to content

Commit 4aeebe3

Browse files
author
Pamela McA'Nulty
committed
Properly disable test_integration in DJ17 or less
1 parent a052aee commit 4aeebe3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ def _add_url(self, project_name, app_name, view_func, view_name):
219219
self._save_py_file(self.urls_file, urls_data)
220220

221221
def test_template_render(self):
222-
if django.VERSION <= (1,7):
223-
pass
222+
if django.VERSION <= (1, 7):
223+
return
224224

225225
self._create_django_project("integration_template_render", "app_template_render")
226226

0 commit comments

Comments
 (0)