~ubuntu-branches/ubuntu/raring/horizon/raring

« back to all changes in this revision

Viewing changes to horizon/tests/testurls.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Chuck Short
  • Date: 2012-11-23 08:49:14 UTC
  • mfrom: (1.1.22)
  • Revision ID: package-import@ubuntu.com-20121123084914-95m0mzmiicdw64ti
Tags: 2013.1~g1-0ubuntu1
[ Adam Gandelman ]
* debian/patches/add_juju_settings_pannel.patch: Disable during
  Grizzly dev. cycle. 

[ Chuck Short ]
* New upstream relase.
* Refreshed patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# vim: tabstop=4 shiftwidth=4 softtabstop=4
2
 
 
3
 
# Copyright 2012 United States Government as represented by the
4
 
# Administrator of the National Aeronautics and Space Administration.
5
 
# All Rights Reserved.
6
 
#
7
 
# Copyright 2012 Nebula, Inc.
8
 
#
9
 
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
10
 
#    not use this file except in compliance with the License. You may obtain
11
 
#    a copy of the License at
12
 
#
13
 
#         http://www.apache.org/licenses/LICENSE-2.0
14
 
#
15
 
#    Unless required by applicable law or agreed to in writing, software
16
 
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17
 
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18
 
#    License for the specific language governing permissions and limitations
19
 
#    under the License.
20
 
 
21
 
"""
22
 
URL patterns for testing Horizon views.
23
 
"""
24
 
 
25
 
from django.conf.urls.defaults import patterns, url, include
26
 
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
27
 
from django.views.generic import TemplateView
28
 
 
29
 
import horizon
30
 
 
31
 
 
32
 
urlpatterns = patterns('',
33
 
    url(r'^$', 'horizon.views.splash', name='splash'),
34
 
    url(r'^auth/', include('openstack_auth.urls')),
35
 
    url(r'', include(horizon.urls)),
36
 
    url(r'^qunit/$',
37
 
        TemplateView.as_view(template_name="horizon/qunit.html"),
38
 
        name='qunit_tests')
39
 
)
40
 
 
41
 
urlpatterns += staticfiles_urlpatterns()