summary refs log blame commit diff stats
path: root/tests/__init__.py
blob: e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 (plain) (tree)
 

span> = [ x[0:x.index('.')] \ for x in os.listdir(os.path.dirname(__file__)) \ if x.startswith('tc_') ] def init(): sys.path.append(os.path.abspath(os.path.join(sys.path[0], '..'))) class Fake(object): def __getattr__(self, attrname): val = Fake() self.__dict__[attrname] = val return val def __call__(self, *_): return Fake() def __clear__(self): self.__dict__.clear() def __iter__(self): return iter(()) class OK(Exception): pass def raise_ok(*_, **__): raise OK()