summaryrefslogtreecommitdiffstats
path: root/tests/unit/test_config.py
diff options
context:
space:
mode:
authorGary Kotton <gkotton@redhat.com>2012-06-17 04:05:37 -0400
committerGary Kotton <gkotton@redhat.com>2012-06-18 01:15:09 -0400
commit9f938720f158889252fa1db44be96745fa48e1ff (patch)
tree5383ca2084fc6e188c59bef6224c78b2719a5ed9 /tests/unit/test_config.py
parent925edb3ee8bbd97afaa43b2888ab45d2bca50faf (diff)
downloadoslo-9f938720f158889252fa1db44be96745fa48e1ff.tar.gz
oslo-9f938720f158889252fa1db44be96745fa48e1ff.tar.xz
oslo-9f938720f158889252fa1db44be96745fa48e1ff.zip
Update common code to support pep 1.3.
bug 1014216 Change-Id: I3f8fa2e11c9d3f3d34fb20f65ce886bb9c94463d
Diffstat (limited to 'tests/unit/test_config.py')
-rw-r--r--tests/unit/test_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_config.py b/tests/unit/test_config.py
index 55d24a4..0467213 100644
--- a/tests/unit/test_config.py
+++ b/tests/unit/test_config.py
@@ -86,7 +86,7 @@ class TestConfig(unittest.TestCase):
# Test that an app cannot be configured
with mock.patch('openstack.common.config.find_config_file',
- mock.Mock(return_value=True)):
+ mock.Mock(return_value=True)):
self.assertRaises(RuntimeError, config.load_paste_config,
'fake_app', {}, [])