mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Avoid running bogus tests with Fastmail
The fix that disabled VTODO tests accidentally ran all other tests twice for this storage. This wasn't picked up earlier since Fastmail is not currently running on CI.
This commit is contained in:
parent
2eff8e08e1
commit
ef2419efa9
1 changed files with 6 additions and 5 deletions
|
|
@ -5,11 +5,12 @@ import pytest
|
|||
|
||||
class ServerMixin:
|
||||
@pytest.fixture
|
||||
def get_storage_args(self, item_type, slow_create_collection, aio_connector):
|
||||
if item_type == "VTODO":
|
||||
# Fastmail has non-standard support for TODOs
|
||||
# See https://github.com/pimutils/vdirsyncer/issues/824
|
||||
pytest.skip("Fastmail has non-standard VTODO support.")
|
||||
def get_storage_args(self, slow_create_collection, aio_connector, request):
|
||||
if "item_type" in request.fixturenames:
|
||||
if request.getfixturevalue("item_type") == "VTODO":
|
||||
# Fastmail has non-standard support for TODOs
|
||||
# See https://github.com/pimutils/vdirsyncer/issues/824
|
||||
pytest.skip("Fastmail has non-standard VTODO support.")
|
||||
|
||||
async def inner(collection="test"):
|
||||
args = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue