Did I find the right examples for you? yes no

All Samples(10)  |  Call(0)  |  Derive(6)  |  Import(4)

src/s/i/simplestore-HEAD/simplestore/tests/test_indexing.py   simplestore(Download)
 
from simplestore.index import Index
from simplestore.tests import gen_uuid, User, Entry, DataStoreTestCase
 
class IndexTestCase(DataStoreTestCase):

src/s/i/simplestore-HEAD/simplestore/tests/test_datastore.py   simplestore(Download)
 
from simplestore.tests import config
from simplestore.tests import gen_uuid, Person, DataStoreTestCase
 
class TestBlankEntitiesTable(DataStoreTestCase):
class TestDataStoreOperations(DataStoreTestCase):
 
    def test_put_get(self):
        p = Person(id=gen_uuid(), firstname='David', lastname='Reynolds')
        self.datastore.put(p)

src/s/i/simplestore-0.3.1/simplestore/tests/test_indexing.py   simplestore(Download)
 
from simplestore.index import Index
from simplestore.tests import gen_uuid, User, Entry, DataStoreTestCase
 
class IndexTestCase(DataStoreTestCase):

src/s/i/simplestore-0.3.1/simplestore/tests/test_datastore.py   simplestore(Download)
 
from simplestore.tests import config
from simplestore.tests import gen_uuid, Person, DataStoreTestCase
 
class TestBlankEntitiesTable(DataStoreTestCase):
class TestDataStoreOperations(DataStoreTestCase):
 
    def test_put_get(self):
        p = Person(id=gen_uuid(), firstname='David', lastname='Reynolds')
        self.datastore.put(p)