summaryrefslogtreecommitdiff
path: root/tooz/tests
diff options
context:
space:
mode:
authorCao Xuan Hoang <hoangcx@vn.fujitsu.com>2017-01-03 13:28:42 +0700
committerCao Xuan Hoang <hoangcx@vn.fujitsu.com>2017-01-03 13:28:42 +0700
commit7b98e5c26e6dd33677f3f7692e05d6057768ab7b (patch)
treedddda934fa2ef6da2c603d12254b956fc4929adf /tooz/tests
parentf3dddcffdd3dae7940917c842ca475e1a0788f98 (diff)
downloadtooz-7b98e5c26e6dd33677f3f7692e05d6057768ab7b.tar.gz
Fix test function name with two underscores to have only one
Change-Id: I3cb8303931ed363a2c8ff8ae5f41a8a876ebfddb
Diffstat (limited to 'tooz/tests')
-rw-r--r--tooz/tests/test_hashring.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tooz/tests/test_hashring.py b/tooz/tests/test_hashring.py
index 4e17019..ccade16 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