Ejemplo n.º 1
0
    def test_putKey(self):
        utilities.putKey("asdf", "testing123")
        r = utilities.checkForKey("asdf")
        self.assertTrue(r)

        del settings.consul.kv["asdf"]
Ejemplo n.º 2
0
    def test_putKey(self):
        utilities.putKey("asdf", "testing123")
        r = utilities.checkForKey("asdf")
        self.assertTrue(r)

        del settings.consul.kv["asdf"]
Ejemplo n.º 3
0
 def test_checkForKey(self):
     r = utilities.checkForKey("asdf")
     self.assertFalse(r)
Ejemplo n.º 4
0
 def test_checkForKey(self):
     r = utilities.checkForKey("asdf")
     self.assertFalse(r)