Files
hermes-caldav-mcp/tests/conftest.py
xeno 93b9c9f913
Some checks failed
Offline checks / test (3.11) (push) Has been cancelled
Offline checks / test (3.13) (push) Has been cancelled
feat: publish Hermes Nextcloud calendar MCP under AGPL-3.0
2026-09-30 20:27:25 +00:00

29 lines
658 B
Python

import pytest
from fakes import FakeCollection
from hermes_caldav_mcp.types import CalendarRef, ConnectionProfile
@pytest.fixture
def profile():
return ConnectionProfile(
"https://cloud.example.test/nextcloud",
"calendar-user",
"synthetic-password",
"/nextcloud/remote.php/dav/calendars/calendar-user/",
(
CalendarRef(
"calendar-1",
"/nextcloud/remote.php/dav/calendars/calendar-user/personal/",
"Personal",
True,
),
),
"Europe/Berlin",
)
@pytest.fixture
def collection():
return FakeCollection()