Use Horizon UT framework

Let's use Horizon unit-tests framework where it's
possible to have better cross-project integration.

Related blueprint: improve-horizon-testing

Change-Id: Idb5104c500c9c7cb39d4360439981298ae6333e1
This commit is contained in:
Ivan Kolodyazhny 2018-04-19 11:51:46 +03:00 committed by Jens Harbott
parent 7c21976f96
commit b7d70684e2
3 changed files with 2 additions and 5 deletions

View File

@ -30,11 +30,6 @@ TESTSERVER = 'http://testserver'
MESSAGE_STORAGE = 'django.contrib.messages.storage.cookie.CookieStorage'
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
NOSE_ARGS = ['--nocapture',
'--nologcapture',
'--cover-package=windc']
EMAIL_BACKEND = 'django.core.mail.backends.locmem.EmailBackend'
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

View File

@ -52,6 +52,7 @@ munch==2.2.0
netaddr==0.7.19
netifaces==0.10.6
nose==1.3.7
nose-exclude===0.5.0
nosehtmloutput==0.0.3
nosexcover==1.0.10
openstack.nose-plugin==0.7

View File

@ -19,6 +19,7 @@ nosehtmloutput>=0.0.3 # Apache-2.0
openstack.nose-plugin>=0.7 # Apache-2.0
django-nose>=1.4.4 # BSD
nosexcover>=1.0.10 # BSD
nose-exclude>=0.5.0 # LGPL
# Horizon requirements
Django<2.0,>=1.11 # BSD