diff --git a/tests/storage/test_memory.py b/tests/storage/test_memory.py index 51e576a..d180897 100644 --- a/tests/storage/test_memory.py +++ b/tests/storage/test_memory.py @@ -6,7 +6,6 @@ from . import StorageTests class TestMemoryStorage(StorageTests): - storage_class = MemoryStorage supports_collections = False diff --git a/tests/storage/test_singlefile.py b/tests/storage/test_singlefile.py index cc049bc..9e838aa 100644 --- a/tests/storage/test_singlefile.py +++ b/tests/storage/test_singlefile.py @@ -6,7 +6,6 @@ from . import StorageTests class TestSingleFileStorage(StorageTests): - storage_class = SingleFileStorage supports_metadata = False diff --git a/tests/system/cli/test_sync.py b/tests/system/cli/test_sync.py index d69b4c2..9deee66 100644 --- a/tests/system/cli/test_sync.py +++ b/tests/system/cli/test_sync.py @@ -278,7 +278,6 @@ def test_multiple_pairs(tmpdir, runner): ], ) def test_create_collections(collections, tmpdir, runner): - runner.write_with_general( dedent( """ diff --git a/vdirsyncer/cli/__init__.py b/vdirsyncer/cli/__init__.py index 703c1eb..37d05c7 100644 --- a/vdirsyncer/cli/__init__.py +++ b/vdirsyncer/cli/__init__.py @@ -165,7 +165,6 @@ def metasync(ctx, collections): async def main(collection_names): async with aiohttp.TCPConnector(limit_per_host=16) as conn: - for pair_name, collections in collection_names: collections = prepare_pair( pair_name=pair_name, diff --git a/vdirsyncer/storage/filesystem.py b/vdirsyncer/storage/filesystem.py index bf29d3f..4992bc1 100644 --- a/vdirsyncer/storage/filesystem.py +++ b/vdirsyncer/storage/filesystem.py @@ -18,7 +18,6 @@ logger = logging.getLogger(__name__) class FilesystemStorage(Storage): - storage_name = "filesystem" _repr_attributes = ["path"] diff --git a/vdirsyncer/storage/memory.py b/vdirsyncer/storage/memory.py index a660009..9522b0a 100644 --- a/vdirsyncer/storage/memory.py +++ b/vdirsyncer/storage/memory.py @@ -10,7 +10,6 @@ def _random_string(): class MemoryStorage(Storage): - storage_name = "memory" """ diff --git a/vdirsyncer/sync/__init__.py b/vdirsyncer/sync/__init__.py index 3582539..379c9c8 100644 --- a/vdirsyncer/sync/__init__.py +++ b/vdirsyncer/sync/__init__.py @@ -199,7 +199,6 @@ class Upload(Action): self.dest = dest async def _run_impl(self, a, b): - if self.dest.storage.read_only: href = etag = None else: