You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix test pollution: use patch.object instead of direct class mutation
TestAsyncCalendarAddObject was assigning AsyncMock directly onto
AsyncEvent._async_create at class level. Since AsyncEvent is an alias
for Event, this left the mock in place for all subsequent tests,
breaking test_async_integration.py.
Replace with patch.object() context manager so the mock is restored
after each test.
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments