projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
10467: Merge branch 'master' into 10467-client-disconnect
[arvados.git]
/
sdk
/
python
/
tests
/
test_collections.py
diff --git
a/sdk/python/tests/test_collections.py
b/sdk/python/tests/test_collections.py
index fc30a242eba1bfc665a05747de66f999869ef8a4..0e3d5e13f135c84f2fde2f741bd554b0ccdf3a85 100644
(file)
--- a/
sdk/python/tests/test_collections.py
+++ b/
sdk/python/tests/test_collections.py
@@
-861,6
+861,8
@@
class NewCollectionTestCase(unittest.TestCase, CollectionTestMixin):
c.find("/.")
with self.assertRaises(arvados.errors.ArgumentError):
c.find("")
c.find("/.")
with self.assertRaises(arvados.errors.ArgumentError):
c.find("")
+ self.assertIs(c.find("./nonexistant.txt"), None)
+ self.assertIs(c.find("./nonexistantsubdir/nonexistant.txt"), None)
def test_remove_in_subdir(self):
c = Collection('. 781e5e245d69b566979b86e28d23f2c7+10 0:10:count1.txt\n./foo 781e5e245d69b566979b86e28d23f2c7+10 0:10:count2.txt\n')
def test_remove_in_subdir(self):
c = Collection('. 781e5e245d69b566979b86e28d23f2c7+10 0:10:count1.txt\n./foo 781e5e245d69b566979b86e28d23f2c7+10 0:10:count2.txt\n')