~ubuntu-branches/ubuntu/precise/horizon/precise-updates

« back to all changes in this revision

Viewing changes to horizon/horizon/tests/testsettings.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-02-17 10:12:25 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120217101225-5wulil2mv7f2nvnb
Tags: 2012.1~e4~20120217.1354-0ubuntu1
* debian/patches/openstack-config-settings.patch: Refreshed.
* debian/copyright: Updated copyright.
* debian/rules: Diable tests since it doesnt work without a
  virtualenv.
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# vim: tabstop=4 shiftwidth=4 softtabstop=4
2
2
 
3
 
# Copyright 2011 United States Government as represented by the
 
3
# Copyright 2012 United States Government as represented by the
4
4
# Administrator of the National Aeronautics and Space Administration.
5
5
# All Rights Reserved.
6
6
#
7
 
# Copyright 2011 Nebula, Inc.
 
7
# Copyright 2012 Nebula, Inc.
8
8
#
9
9
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
10
10
#    not use this file except in compliance with the License. You may obtain
60
60
    'django.contrib.messages.context_processors.messages',
61
61
    'horizon.context_processors.horizon')
62
62
 
 
63
MESSAGE_STORAGE = 'django.contrib.messages.storage.cookie.CookieStorage'
 
64
 
63
65
ROOT_URLCONF = 'horizon.tests.testurls'
64
66
TEMPLATE_DIRS = (os.path.join(ROOT_PATH, 'tests', 'templates'))
65
67
SITE_ID = 1
71
73
NOVA_ACCESS_KEY = 'test'
72
74
NOVA_SECRET_KEY = 'test'
73
75
 
74
 
QUANTUM_URL = '127.0.0.1'
75
 
QUANTUM_PORT = '9696'
76
 
QUANTUM_TENANT = '1234'
77
 
QUANTUM_CLIENT_VERSION = '0.1'
78
 
QUANTUM_ENABLED = True
79
 
 
80
76
CREDENTIAL_AUTHORIZATION_DAYS = 2
81
77
CREDENTIAL_DOWNLOAD_URL = TESTSERVER + '/credentials/'
82
78
 
95
91
    'default_dashboard': 'nova',
96
92
}
97
93
 
98
 
SWIFT_ACCOUNT = 'test'
99
 
SWIFT_USER = 'tester'
100
 
SWIFT_PASS = 'testing'
101
 
SWIFT_AUTHURL = 'http://swift/swiftapi/v1.0'
102
 
 
103
94
AVAILABLE_REGIONS = [
104
 
    ('local', 'http://localhost:5000/v2.0'),
105
 
    ('remote', 'http://remote:5000/v2.0'),
 
95
    ('http://localhost:5000/v2.0', 'local'),
 
96
    ('http://remote:5000/v2.0', 'remote'),
106
97
]
107
98
 
108
99
OPENSTACK_ADDRESS = "localhost"