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