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"],