commit f77bcd62d635149385e42dd638bebae23128e24c Author: Gabriel Hurley Date: Wed Apr 11 14:04:08 2012 -0700 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 diff --git a/openstack_dashboard/test/__init__.py b/openstack_dashboard/test/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/openstack_dashboard/test/settings.py b/openstack_dashboard/test/settings.py new file mode 100644 index 0000000..f903ca2 --- /dev/null +++ b/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',)