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.
12 lines
277 B
Python
12 lines
277 B
Python
import pytest
|
|
|
|
from . import DAVStorageTests
|
|
from vdirsyncer.storage.dav import CardDAVStorage
|
|
|
|
|
|
class TestCardDAVStorage(DAVStorageTests):
|
|
storage_class = CardDAVStorage
|
|
|
|
@pytest.fixture(params=['VCARD'])
|
|
def item_type(self, request):
|
|
return request.param
|