This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a commit to branch dw/8565
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 99609d85a816529b686bd05c6a33153d14bce31c
Author: Dillon Walls <[email protected]>
AuthorDate: Tue Jun 25 18:10:52 2024 -0400

    pymongo - use drop instead of remove in some places
---
 Allura/allura/tests/model/test_filesystem.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Allura/allura/tests/model/test_filesystem.py 
b/Allura/allura/tests/model/test_filesystem.py
index 7c2c9520a..9fdb4028a 100644
--- a/Allura/allura/tests/model/test_filesystem.py
+++ b/Allura/allura/tests/model/test_filesystem.py
@@ -49,9 +49,9 @@ class TestFile(TestCase):
         self.conn = M.session.main_doc_session.db._connection
         self.db = M.session.main_doc_session.db
 
-        self.db.fs.remove()
-        self.db.fs.files.remove()
-        self.db.fs.chunks.remove()
+        self.db.fs.drop()
+        self.db.fs.files.drop()
+        self.db.fs.chunks.drop()
 
     def test_from_stream(self):
         f = File.from_stream('test1.txt', BytesIO(b'test1'))

Reply via email to