diff --git a/base_dav/radicale/collection.py b/base_dav/radicale/collection.py index 5fd10cf5..9a37c5bf 100644 --- a/base_dav/radicale/collection.py +++ b/base_dav/radicale/collection.py @@ -130,7 +130,3 @@ class Collection(BaseCollection): def list(self): return self.collection.dav_list(self.path_components) - - @classmethod - def create_collection(cls, href, collection=None, props=None): - return None diff --git a/base_dav/tests/test_base_dav.py b/base_dav/tests/test_base_dav.py index b76cec11..6ed014f9 100644 --- a/base_dav/tests/test_base_dav.py +++ b/base_dav/tests/test_base_dav.py @@ -7,6 +7,7 @@ from unittest import mock from urllib.parse import urlparse from odoo.tests.common import TransactionCase +from odoo.tools import mute_logger from ..controllers.main import PREFIX from ..controllers.main import Main as Controller @@ -18,6 +19,7 @@ RADICALE_PATH = MODULE_PATH + ".radicale" ADMIN_PASSWORD = "RadicalePa$$word" +@mute_logger("radicale") @mock.patch(CONTROLLER_PATH + ".request") @mock.patch(RADICALE_PATH + ".auth.request") @mock.patch(RADICALE_PATH + ".collection.request")