Skip to content

Commit 9bf7e7f

Browse files
committed
Rename _logging_config_updater.py to _logging_actor.py
Also rename the test file name to match the new module name. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 646de5c commit 9bf7e7f

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

src/frequenz/sdk/config/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33

44
"""Read and update config variables."""
55

6-
from ._logging_config_updater import (
7-
LoggerConfig,
8-
LoggingConfig,
9-
LoggingConfigUpdatingActor,
10-
)
6+
from ._logging_actor import LoggerConfig, LoggingConfig, LoggingConfigUpdatingActor
117
from ._managing_actor import ConfigManagingActor
128
from ._util import load_config
139

tests/config/test_logging_config_updater.py renamed to tests/config/test_logging_actor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def test_logging_config_updating_actor(
7070
# Overriding logging.basicConfig would mess up other tests, so we mock it.
7171
# This is just for extra safety because changing root logging level in unit tests
7272
# is not working anyway - python ignores it.
73-
mocker.patch("frequenz.sdk.config._logging_config_updater.logging.basicConfig")
73+
mocker.patch("frequenz.sdk.config._logging_actor.logging.basicConfig")
7474

7575
config_channel = Broadcast[Mapping[str, Any]](name="config")
7676
config_sender = config_channel.new_sender()

0 commit comments

Comments
 (0)