Super call to setUpClass is needed to make tests pass.  This change was
already made to the starter django template in microsoft/ptvs
This commit is contained in:
Christopher Wilcox 2015-06-10 13:59:00 -07:00
Родитель 71405ff967
Коммит 3ce0b16962
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -15,6 +15,7 @@ class ViewTest(TestCase):
# Django 1.7 requires an explicit setup() when running tests in PTVS
@classmethod
def setUpClass(cls):
super(ViewTest, cls).setUpClass()
django.setup()
def test_home(self):