Skip to content
Browse files

test case pedantry

  • Loading branch information...
1 parent 7d5b781 commit a63b22f91689364380c2572daa96232b41f486a7 @tkaemming committed Apr 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests.py
View
4 tests.py
@@ -7,7 +7,7 @@ def test_single_simple_node():
Test basic interface with only a single node.
"""
node = SimpleNode(id=1)
- cluster = Cluster([node])
+ cluster = Cluster((node,))
# hashing lookup
assert cluster.location('hello') == node
@@ -41,6 +41,6 @@ def test_simple_node_id_generation():
"""
Test simple node automatic ID generation.
"""
- cluster = Cluster([SimpleNode()])
+ cluster = Cluster((SimpleNode(),))
cluster[0] = 0
cluster['hello'] = 'world'

0 comments on commit a63b22f

Please sign in to comment.
Something went wrong with that request. Please try again.