Permalink
Browse files

update the tests regarding the new signatures of wimms

  • Loading branch information...
1 parent bfdf9dd commit 8923808fe9c19089f1afdf30689d4dc387212d97 @almet almet committed Jul 27, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 stokenserver/tests/test_fixednode.py
@@ -47,11 +47,11 @@ def tearDown(self):
def test_read_config(self):
user, service = 'tarek@mozilla.com', 'sync'
if self._sqlite:
- wanted = (1, u'phx12')
+ wanted = (1, u'phx12', None)
else:
- wanted = (0, u'phx12')
+ wanted = (0, u'phx12', None)
- self.assertEqual(wanted, self.backend.allocate_node(user, service))
+ self.assertEqual(wanted[:-1], self.backend.allocate_node(user, service))
self.assertEqual(wanted, self.backend.get_node(user, service))
def test_api(self):

0 comments on commit 8923808

Please sign in to comment.