Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(2)  |  Import(2)

src/c/o/content-io-HEAD/tests/test_storage.py   content-io(Download)
from cio.backends import get_backend, storage
from cio.backends.base import CacheBackend, StorageBackend, DatabaseBackend
from cio.backends.exceptions import InvalidBackend, PersistenceError, NodeDoesNotExist
from cio.backends.sqlite import SqliteBackend
from cio.conf.exceptions import ImproperlyConfigured
        class BogusStorage(CacheBackend, StorageBackend):
            pass
        bogus = BogusStorage()
        self.assertIsNone(bogus.scheme)
        with self.assertRaises(NotImplementedError):

src/c/o/content-io-1.0.1/tests/test_storage.py   content-io(Download)
from cio.backends import get_backend, storage
from cio.backends.base import CacheBackend, StorageBackend, DatabaseBackend
from cio.backends.exceptions import InvalidBackend, PersistenceError, NodeDoesNotExist
from cio.backends.sqlite import SqliteBackend
from cio.conf.exceptions import ImproperlyConfigured
        class BogusStorage(CacheBackend, StorageBackend):
            pass
        bogus = BogusStorage()
        self.assertIsNone(bogus.scheme)
        with self.assertRaises(NotImplementedError):