summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2013-02-06 19:30:51 +0100
committerRussell Bryant <rbryant@redhat.com>2013-02-06 15:27:51 -0500
commit08a5066d5d8781d2cc6bd3b2fb2c27e4e16e8adb (patch)
tree376f4391e78fed46295463aa90cada74f080c99f /nova/tests
parentab987734228f00afb34d7a1cb22f693d29a520fe (diff)
Remove strcmp_const_time.
This function was used with deprecated auth and is no longer used anywhere in the code, so just remove it. Change-Id: I1e5472c312bfc49c57bf031593cf82c32bc77dfd
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_utils.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/nova/tests/test_utils.py b/nova/tests/test_utils.py
index 53ab5637c..68bc8ae57 100644
--- a/nova/tests/test_utils.py
+++ b/nova/tests/test_utils.py
@@ -433,11 +433,6 @@ class GenericUtilsTestCase(test.TestCase):
self.assertRaises(exception.FileNotFound,
utils.read_file_as_root, 'bad')
- def test_strcmp_const_time(self):
- self.assertTrue(utils.strcmp_const_time('abc123', 'abc123'))
- self.assertFalse(utils.strcmp_const_time('a', 'aaaaa'))
- self.assertFalse(utils.strcmp_const_time('ABC123', 'abc123'))
-
def test_temporary_chown(self):
def fake_execute(*args, **kwargs):
if args[0] == 'chown':