feat: publish lightweight Hermes Nextcloud calendar MCP
This commit is contained in:
28
tests/conftest.py
Normal file
28
tests/conftest.py
Normal 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()
|
||||
Reference in New Issue
Block a user