예제 #1
0
class TestZNodeMap(KazooTestCase):
    def setUp(self):
        super(TestZNodeMap, self).setUp()
        self.links = ZNodeMap(self.client, "/nodemaps")

    def test_set(self):
        self.links.set('src', 'dest')
        self.assertEquals(self.links.get('src'), 'dest')
예제 #2
0
class TestZNodeMap(KazooTestCase):

    def setUp(self):
        super(TestZNodeMap, self).setUp()
        self.links = ZNodeMap(self.client, "/nodemaps")

    def test_set(self):
        self.links.set('src', 'dest')
        self.assertEquals(self.links.get('src'), 'dest')
예제 #3
0
 def setUp(self):
     super(TestZNodeMap, self).setUp()
     self.links = ZNodeMap(self.client, "/nodemaps")
예제 #4
0
 def setUp(self):
     super(TestZNodeMap, self).setUp()
     self.links = ZNodeMap(self.client, "/nodemaps")