From 7b98e5c26e6dd33677f3f7692e05d6057768ab7b Mon Sep 17 00:00:00 2001 From: Cao Xuan Hoang Date: Tue, 3 Jan 2017 13:28:42 +0700 Subject: [PATCH] Fix test function name with two underscores to have only one Change-Id: I3cb8303931ed363a2c8ff8ae5f41a8a876ebfddb --- tooz/tests/test_hashring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooz/tests/test_hashring.py b/tooz/tests/test_hashring.py index 4e170194..ccade167 100644 --- a/tooz/tests/test_hashring.py +++ b/tooz/tests/test_hashring.py @@ -32,7 +32,7 @@ class HashRingTestCase(testcase.TestCase): # fake-again -> bar, baz, foo @mock.patch.object(hashlib, 'md5', autospec=True) - def test__hash2int_returns_int(self, mock_md5): + def test_hash2int_returns_int(self, mock_md5): r1 = 32 * 'a' r2 = 32 * 'b' # 2**PARTITION_EXPONENT calls to md5.update per node