We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d32553 commit e317af0Copy full SHA for e317af0
platform/mellanox/mlnx-platform-api/tests/test_chassis.py
@@ -286,7 +286,8 @@ def test_revision_permission(self):
286
287
def test_get_port_or_cage_type(self):
288
chassis = Chassis()
289
- chassis.RJ45_port_list = [0]
+ chassis._RJ45_port_inited = True
290
+ chassis._RJ45_port_list = [0]
291
assert SfpBase.SFP_PORT_TYPE_BIT_RJ45 == chassis.get_port_or_cage_type(1)
292
293
exceptionRaised = False
0 commit comments