mirror of
https://github.com/home-assistant/core.git
synced 2026-04-02 00:20:30 +01:00
Rename component to integration in Glances (#167012)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""The Glances component."""
|
||||
"""The Glances integration."""
|
||||
|
||||
import logging
|
||||
from typing import Any
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Constants for Glances component."""
|
||||
"""Constants for Glances integration."""
|
||||
|
||||
from datetime import timedelta
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Support gathering system information of hosts which are running glances."""
|
||||
"""Support gathering system information of hosts which are running Glances."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Conftest for speedtestdotnet."""
|
||||
"""Conftest for Glances."""
|
||||
|
||||
from unittest.mock import AsyncMock, patch
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ from tests.common import MockConfigEntry
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def glances_setup_fixture():
|
||||
"""Mock glances entry setup."""
|
||||
"""Mock Glances entry setup."""
|
||||
with patch("homeassistant.components.glances.async_setup_entry", return_value=True):
|
||||
yield
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Tests for glances sensors."""
|
||||
"""Tests for Glances sensors."""
|
||||
|
||||
from datetime import timedelta
|
||||
from unittest.mock import AsyncMock
|
||||
|
||||
Reference in New Issue
Block a user