052aa55d34
There are no longer two separate projects living inside the horizon repository. There is a single project now with a single setup.py, single README, etc. The openstack-dashboard/dashboard django project is now named "openstack_dashboard" and lives as an example project in the topmost horizon directory. The "horizon/horizon" directory has been bumped up a level and now is directly on the path when the root horizon directory is on your python path. Javascript media which the horizon module directly relies upon now ships in the horizon/static dir rather than openstack-dashboard/dashboard/static. All the corresponding setup, installation, build, and env scripts have been updated accordingly. Implements blueprint unified-packaging. Change-Id: Ieed8e3c777432cd046c3e0298869a9428756ab62
14 lines
449 B
Python
14 lines
449 B
Python
from django import test
|
|
from noseselenium.cases import SeleniumTestCaseMixin
|
|
|
|
|
|
class SeleniumTests(test.TestCase, SeleniumTestCaseMixin):
|
|
def test_splash(self):
|
|
self.selenium.open("/")
|
|
self.failUnless(self.selenium.is_text_present("User Name"))
|
|
|
|
def test_qunit(self):
|
|
self.selenium.open("/qunit/")
|
|
self.selenium.wait_for_page_to_load("2000")
|
|
self.failUnless(self.selenium.is_text_present("0 failed"))
|