Skip to content

Commit

Permalink
gh #44 L3 test case development
Browse files Browse the repository at this point in the history
Updated raft tag
  • Loading branch information
bhanucbp committed Dec 23, 2024
1 parent 10f60e8 commit b637432
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion host/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ setup_and_enable_venv

### Clone required repos ###
# Setup raft
clone_repo [email protected]:rdkcentral/python_raft.git "${RAFT_DIR}" "1.1.1" "in ./raft"
clone_repo [email protected]:rdkcentral/python_raft.git "${RAFT_DIR}" "1.2.0" "in ./raft"
install_pip_requirements "${RAFT_DIR}"/requirements.txt

# Setup ut-raft
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def testFunction(self):

self.log.stepStart(f'HdmiCecTx Receive Source: {deviceLogicalAddress} Destination: {destinationLogicalAddress} CEC OPCode: {cec} Payload: {payload}')
# Validate the transmission
rxResult = self.hdmiCECController.receiveMessage(deviceLogicalAddress, destinationLogicalAddress, cec, payload)
rxResult = self.hdmiCECController.checkMessageReceived(deviceLogicalAddress, destinationLogicalAddress, cec, payload=payload)

self.log.stepResult(rxResult, f'HdmiCecTx Receive Source: {deviceLogicalAddress} Destination: {destinationLogicalAddress} CEC OPCode: {cec} Payload: {payload}')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def testFunction(self):
payload[1] = devicePhysicalAddress[1]

self.log.stepStart(f'Response Test: Source: {deviceLogicalAddress} Destination: {destinationLogicalAddress} CEC OPCode: {cecOpcode} Payload: {payload}')
result = self.hdmiCECController.receiveMessage(deviceLogicalAddress, destinationLogicalAddress, cecOpcode, payload)
result = self.hdmiCECController.checkMessageReceived(deviceLogicalAddress, destinationLogicalAddress, cecOpcode, payload=payload)
self.log.stepResult(result, f'Response Test: Source: {deviceLogicalAddress} Destination: {destinationLogicalAddress} CEC OPCode: {cecOpcode} Payload: {payload}')

finalResult &= result
Expand Down

0 comments on commit b637432

Please sign in to comment.