mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
fix for pytest warning: "is using nose-specific method: setup(self)
"
This commit is contained in:
parent
f3f3995b01
commit
6f7abbcba5
5 changed files with 18 additions and 18 deletions
|
@ -37,8 +37,8 @@ class TestBaseRequests(BaseTest):
|
|||
# Allow skipping sync-token tests, when not fully supported by the backend
|
||||
full_sync_token_support: ClassVar[bool] = True
|
||||
|
||||
def setup(self) -> None:
|
||||
BaseTest.setup(self)
|
||||
def setup_method(self) -> None:
|
||||
BaseTest.setup_method(self)
|
||||
rights_file_path = os.path.join(self.colpath, "rights")
|
||||
with open(rights_file_path, "w") as f:
|
||||
f.write("""\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue