Browse Source

Revamp of testing machinery.

* Uses Django 1.4 as minimum version for Folsom.
  * Switches to using Django 1.4's LiveServerTestCase instead of
    django-nose-selenium and cherrypy.
  * Moves django-nose to be a test dependency only. Fixes bug 801362.

Change-Id: I5c8a145aba868acf355fe215307d7ce8835913f6
changes/21/514521/1
Gabriel Hurley 10 years ago
commit
f77bcd62d6
  1. 0
      openstack_dashboard/test/__init__.py
  2. 11
      openstack_dashboard/test/settings.py

0
openstack_dashboard/test/__init__.py

11
openstack_dashboard/test/settings.py

@ -0,0 +1,11 @@
import os
from horizon.tests.testsettings import *
TEST_DIR = os.path.dirname(os.path.abspath(__file__))
ROOT_PATH = os.path.abspath(os.path.join(TEST_DIR, ".."))
ROOT_URLCONF = 'openstack_dashboard.urls'
TEMPLATE_DIRS = (os.path.join(ROOT_PATH, 'templates'),)
STATICFILES_DIRS = (os.path.join(ROOT_PATH, 'static'),)
INSTALLED_APPS += ('openstack_dashboard',)
Loading…
Cancel
Save