From e38ae96227dd4400760c7d30f9a3579f0c651667 Mon Sep 17 00:00:00 2001 From: Unrud Date: Thu, 9 Dec 2021 19:15:23 +0100 Subject: [PATCH] Cosmetics --- radicale/tests/test_base.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/tests/test_base.py b/radicale/tests/test_base.py index 7376162..af0c759 100644 --- a/radicale/tests/test_base.py +++ b/radicale/tests/test_base.py @@ -1772,7 +1772,7 @@ class TestCustomStorageSystem(BaseFileSystemTest): # include tests related to sync token s: str = "" for s in dir(BaseRequestsMixIn): - if s.startswith("test_") and ("_sync_" in s or s.endswith("_sync")): + if s.startswith("test_") and "sync" in s.split("_"): locals()[s] = getattr(BaseRequestsMixIn, s) del s diff --git a/setup.py b/setup.py index 58a3138..e647ddc 100644 --- a/setup.py +++ b/setup.py @@ -74,7 +74,7 @@ setup( platforms="Any", packages=find_packages( exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), - package_data={"radicale": WEB_FILES + ['py.typed']}, + package_data={"radicale": [*WEB_FILES, 'py.typed']}, entry_points={"console_scripts": ["radicale = radicale.__main__:run"]}, install_requires=["defusedxml", "passlib", "vobject>=0.9.6", "python-dateutil>=2.7.3", "setuptools"],