server/test/unittest_storage.py
changeset 8190 2a3c1b787688
parent 8180 1f6ba9afb925
child 8483 4ba11607d84a
equal deleted inserted replaced
8189:2ee0ef069fa7 8190:2a3c1b787688
    26 import os.path as osp
    26 import os.path as osp
    27 import shutil
    27 import shutil
    28 import tempfile
    28 import tempfile
    29 
    29 
    30 from cubicweb import Binary, QueryError
    30 from cubicweb import Binary, QueryError
    31 from cubicweb.selectors import is_instance
    31 from cubicweb.predicates import is_instance
    32 from cubicweb.server.sources import storages
    32 from cubicweb.server.sources import storages
    33 from cubicweb.server.hook import Hook, Operation
    33 from cubicweb.server.hook import Hook, Operation
    34 
    34 
    35 class DummyBeforeHook(Hook):
    35 class DummyBeforeHook(Hook):
    36     __regid__ = 'dummy-before-hook'
    36     __regid__ = 'dummy-before-hook'