Example #1
0
 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'))
Example #2
0
 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"))
Example #3
0
 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'))
Example #4
0
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")