Skip to content

Commit ad97c74

Browse files
authored
Improve ResourceNotFound assertion in test_upload
1 parent 74fe141 commit ad97c74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,9 +1495,9 @@ def test_upload(self):
14951495
data = f.read()
14961496
self.assertEqual(data, b"bar")
14971497

1498-
# upload to non-existing path (/foo/bar)
1498+
# upload to non-existing path (/spam/eggs)
14991499
with self.assertRaises(errors.ResourceNotFound):
1500-
self.fs.upload("/foo/bar/baz", bytes_file)
1500+
self.fs.upload("/spam/eggs", bytes_file)
15011501

15021502
def test_upload_chunk_size(self):
15031503
test_data = b"bar" * 128

0 commit comments

Comments
 (0)