mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
I don't want to ever have to sort imports again. It's a poor use of developer time. Automate this with a pre-commit hook, and check this on CI. Developers: I suggest you configure your editor to use `reorder_python_imports`. It uses the standard sorting, and detects first/third party libs well.
14 lines
287 B
Python
14 lines
287 B
Python
import pytest
|
|
|
|
from . import StorageTests
|
|
from vdirsyncer.storage.memory import MemoryStorage
|
|
|
|
|
|
class TestMemoryStorage(StorageTests):
|
|
|
|
storage_class = MemoryStorage
|
|
supports_collections = False
|
|
|
|
@pytest.fixture
|
|
def get_storage_args(self):
|
|
return lambda **kw: kw
|