summaryrefslogtreecommitdiff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorChuck Short <chuck.short@canonical.com>2013-02-06 09:36:51 -0600
committerChuck Short <chuck.short@canonical.com>2013-02-11 12:29:39 -0600
commitb998ff92527cf542f7e8db127cd65bfc7ccceb1a (patch)
treee9b8de15585fbc97d57636b9735527ef19a9b259 /tests/utils.py
parentff24716d0964121faaa57ec3bd724fde0e6c0ad7 (diff)
downloadpython-keystoneclient-b998ff92527cf542f7e8db127cd65bfc7ccceb1a.tar.gz
Allow requests up to 0.8 and greater
The requests module dropped all configuration with the 1.0.0 release. There's no danger_mode and no 'verbose'' mode. The former shouldn't be necessary anymore and the latter can be done by setting a different log handler for the request.logging root logger. Change-Id: I41bfaf2574f6d7fc21f86e0124ceae7df6481eee Signed-off-by: Chuck Short <chuck.short@canonical.com>
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 6e8dbaf..9d9bf8d 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -17,7 +17,6 @@ class TestCase(testtools.TestCase):
TEST_ROOT_ADMIN_URL = 'http://127.0.0.1:35357/'
TEST_ADMIN_URL = '%s%s' % (TEST_ROOT_ADMIN_URL, 'v2.0')
TEST_REQUEST_BASE = {
- 'config': {'danger_mode': False},
'verify': True,
}
@@ -94,7 +93,6 @@ class UnauthenticatedTestCase(testtools.TestCase):
TEST_ROOT_ADMIN_URL = 'http://127.0.0.1:35357/'
TEST_ADMIN_URL = '%s%s' % (TEST_ROOT_ADMIN_URL, 'v2.0')
TEST_REQUEST_BASE = {
- 'config': {'danger_mode': False},
'verify': True,
}