From ba8fd6b01e09fe558041b3cc2a185b953b36e2d1 Mon Sep 17 00:00:00 2001 From: Allen Porter Date: Sun, 30 Oct 2022 15:07:10 -0700 Subject: [PATCH] Google calendar test cleanup, avoiding dupe config entry setup (#81256) --- tests/components/google/test_calendar.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/components/google/test_calendar.py b/tests/components/google/test_calendar.py index 3bd584f4c6f..90ec8f44850 100644 --- a/tests/components/google/test_calendar.py +++ b/tests/components/google/test_calendar.py @@ -62,15 +62,11 @@ TEST_EVENT = { @pytest.fixture(autouse=True) def mock_test_setup( - hass, test_api_calendar, mock_calendars_list, - config_entry, ): - """Fixture that pulls in the default fixtures for tests in this file.""" + """Fixture that sets up the default API responses during integration setup.""" mock_calendars_list({"items": [test_api_calendar]}) - config_entry.add_to_hass(hass) - return def get_events_url(entity: str, start: str, end: str) -> str: