feat: publish lightweight Hermes Nextcloud calendar MCP
Some checks failed
Offline checks / test (3.11) (push) Has been cancelled
Offline checks / test (3.13) (push) Has been cancelled

This commit is contained in:
xeno
2026-09-30 22:53:46 +03:00
commit 91823006e2
44 changed files with 7546 additions and 0 deletions

28
tests/conftest.py Normal file
View File

@@ -0,0 +1,28 @@
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()