diff --git a/casimport/__init__.py b/casimport/__init__.py index 0a5fd3c..03a10b2 100644 --- a/casimport/__init__.py +++ b/casimport/__init__.py @@ -411,6 +411,14 @@ def defaultinit(casf): casf.register(IPFSCAS()) casf.register(HTTPSCAS()) +def main(): + # Thoughts on supported features: + # automatic pinning/adding to ipfs + # automatic github/gitea url generation + # automatic alias generation + # + pass + # The global version _casfinder = CASFinder() load_mod_aliases = _casfinder.load_mod_aliases @@ -789,16 +797,6 @@ class Test(unittest.TestCase): # this case, BOTH hashse have to be checked. pass - @unittest.skip('todo') - def test_loaderpriority(self): - # XXX - write test to allow you to specify the priority of - # a loader, to ensure that cache stays at top. - # Maybe also think of a way to say local/remote, because - # some loaders may be "more local" than others, like using - # a local ipfs gateway makes more sense than hitting a - # public gateway - pass - def test_filecorruption(self): cachedir = self.tempdir / 'cachedir' cachedir.mkdir()