def _makeOne(self, param=None): from pyramid.static import QueryStringConstantCacheBuster as cls if param: inst = cls('foo', param) else: inst = cls('foo') return inst
def _makeOne(self, param=None): from pyramid.static import QueryStringConstantCacheBuster as cls if param: inst = cls('foo', param) else: inst = cls('foo') return inst
def _makeOne(self, param=None): from pyramid.static import QueryStringMd5CacheBuster as cls if param: inst = cls(param) else: inst = cls() inst.token = lambda pathspec: 'foo' return inst
def _makeOne(self, param=None): from pyramid.static import QueryStringMd5CacheBuster as cls if param: inst = cls(param) else: inst = cls() inst.tokenize = lambda pathspec: 'foo' return inst
def _makeOne(self, path, **kw): from pyramid.static import ManifestCacheBuster as cls return cls(path, **kw)
def _makeOne(self): from pyramid.static import PathSegmentMd5CacheBuster as cls inst = cls() inst.token = lambda pathspec: 'foo' return inst
def _makeOne(self): from pyramid.static import Md5AssetTokenGenerator as cls return cls()
def _makeOne(self, path, **kw): from pyramid.static import ManifestCacheBuster as cls return cls(path, **kw)
def _makeOne(self): from pyramid.static import PathSegmentMd5CacheBuster as cls inst = cls() inst.tokenize = lambda pathspec: 'foo' return inst
def _makeOne(self): from pyramid.static import Md5AssetTokenGenerator as cls return cls()