From 39a8b1b17ad13ee4c096322bc617ab65de9dbb56 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sun, 2 Feb 2020 13:57:00 -0800 Subject: [PATCH] add comment about loader priority --- casimport/__init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/casimport/__init__.py b/casimport/__init__.py index c3eb7ee..6ddbcd8 100644 --- a/casimport/__init__.py +++ b/casimport/__init__.py @@ -275,3 +275,12 @@ class Test(unittest.TestCase): with CASFinder() as f: # if we try to create a second, it fails self.assertRaises(RuntimeError, CASFinder) + + 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