Skip to content

Commit 628004d

Browse files
committed
fix docstring violations
1 parent 22dc83e commit 628004d

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

tests/switchmap_/poller/test_async_poll.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@
3232

3333
@pytest.fixture
3434
def mock_config_setup():
35-
"""Set up mock configuration for tests."""
35+
"""Set up mock configuration for tests.
36+
37+
Args:
38+
None
39+
40+
Returns:
41+
MagicMock: Mock configuration instance with zones and subprocesses.
42+
"""
3643
mock_config_instance = MagicMock()
3744
mock_zone = MagicMock()
3845
mock_zone.name = "zone1"
@@ -44,7 +51,14 @@ def mock_config_setup():
4451

4552
@pytest.fixture
4653
def mock_poll_meta():
47-
"""Create a mock poll meta object."""
54+
"""Create a mock poll meta object.
55+
56+
Args:
57+
None
58+
59+
Returns:
60+
_META: Mock poll meta object with zone, hostname, and config.
61+
"""
4862
return _META(zone="zone1", hostname="device1", config=MagicMock())
4963

5064

0 commit comments

Comments
 (0)