Skip to content

Commit 490ef2f

Browse files
shsmscamille-bouvy-frequenz
authored andcommitted
Rename variable to from _ to client
Signed-off-by: Sahas Subramanian <[email protected]>
1 parent 1865a4a commit 490ef2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
def set_up() -> Generator[Any, Any, Any]:
4040
"""Set up the test suite."""
4141
# Create a mock client and stub
42-
_ = Client("grpc://unknown.host", connect=False)
42+
client = Client("grpc://unknown.host", connect=False)
4343
mock_stub = AsyncMock()
44-
_._stub = mock_stub # pylint: disable=protected-access
44+
client._stub = mock_stub # pylint: disable=protected-access
4545

4646
# Create a new event loop for each test
4747
loop = asyncio.new_event_loop()
@@ -66,7 +66,7 @@ def set_up() -> Generator[Any, Any, Any]:
6666
valid_until = delivery_start + timedelta(hours=3)
6767

6868
yield {
69-
"client": _,
69+
"client": client,
7070
"mock_stub": mock_stub,
7171
"loop": loop,
7272
"gridpool_id": gridpool_id,

0 commit comments

Comments
 (0)