fix(calendar): address PR feedback from maintainer

- Remove CHANGELOG.md changes (auto-generated from commits)
- Move all parameter descriptions into function docstrings for LLM context
- Remove unused caldav dependency (using httpx for CalDAV implementation)
- Move datetime imports to top of modules
- Remove load_dotenv from tests/conftest.py
- Clarify Event vs Meeting distinction in docstrings
- Handle 401 auth errors gracefully in calendar tests

Addresses all feedback from PR #95 review
This commit is contained in:
Neovasky
2025-07-28 11:44:53 -04:00
parent 2e078498b1
commit 3ddeeab67f
6 changed files with 92 additions and 69 deletions
@@ -95,6 +95,10 @@ async def test_list_calendars(nc_client: NextcloudClient):
calendars = await nc_client.calendar.list_calendars()
assert isinstance(calendars, list)
if not calendars:
pytest.skip("No calendars available - Calendar app may not be enabled")
logger.info(f"Found {len(calendars)} calendars")
# Check structure of calendars