Skip to content

Commit 8182751

Browse files
pkessfelixdivo
andauthored
Use lowercase parameter names
Co-authored-by: Felix Divo <[email protected]>
1 parent 6dc50e8 commit 8182751

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_pcan.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ def tearDown(self) -> None:
3737
self.bus.shutdown()
3838
self.bus = None
3939

40-
def _mockGetValue(self, Channel, Parameter):
40+
def _mockGetValue(self, channel, parameter):
4141
"""
4242
This method is used as mock for GetValue method of PCANBasic object.
4343
Only a subset of parameters are supported.
4444
"""
45-
if Parameter == PCAN_API_VERSION:
45+
if parameter == PCAN_API_VERSION:
4646
return PCAN_ERROR_OK, self.PCAN_API_VERSION_SIM.encode("ascii")
4747
raise NotImplementedError(
48-
f"No mock return value specified for parameter {Parameter}"
48+
f"No mock return value specified for parameter {parameter}"
4949
)
5050

5151
def test_bus_creation(self) -> None:

0 commit comments

Comments
 (0)