Browse Source

add comment about loader priority

main
John-Mark Gurney 5 years ago
parent
commit
39a8b1b17a
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      casimport/__init__.py

+ 9
- 0
casimport/__init__.py View File

@@ -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

Loading…
Cancel
Save