def testAdd(self): c = Client(MEMCACHED_ADDRESS) c.connect() c.set("key1", "value1") self.assertEquals("NOT_STORED", c.add("key1", "value")) pass