Peter Belanyi cdfb746abe Add selenium test-case
Add the /qunit_tuskar path to the urls in the test environment
and a selenium test-case to run the Javascript qunit tests.

Change-Id: I44c253dc3ed8be9743faba1f8691aa941e4ed9dc
Partial-Bug: #1282961
2014-04-09 16:20:30 +02:00

28 lines
931 B
Python

#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from django.conf import urls
from django.views import generic
import openstack_dashboard.urls
urlpatterns = urls.patterns(
'',
urls.url(
r'^qunit_tuskar',
generic.TemplateView.as_view(
template_name="infrastructure/qunit.html"),
name='qunit_tests'),
urls.url(r'', urls.include(openstack_dashboard.urls))
)