def test_set(self): ''' Test if it sets a value from a db, using a uri in the form of sdb://<profile>/<key> ''' self.assertFalse(sdb.set_('sdb://mymemcached/foo', 'bar'))
def test_set(self): """ Test if it sets a value from a db, using a uri in the form of sdb://<profile>/<key> """ self.assertFalse(sdb.set_("sdb://mymemcached/foo", "bar"))
def test_set(): """ Test if it sets a value from a db, using a uri in the form of sdb://<profile>/<key> """ assert not sdb.set_("sdb://mymemcached/foo", "bar")