Skip to content

Commit f65f45d

Browse files
philipandamacpijan
authored andcommitted
power.robot: Fix LAPTOP_PLATFORM not being set
Signed-off-by: Filip Gołaś <[email protected]>
1 parent 3ccfe8b commit f65f45d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/platform/power.robot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Resource ../../keys.robot
1414

1515
*** Keywords ***
1616
Check Power Supply
17-
VAR ${LAPTOP_PLATFORM}= ${EMPTY} scope=SUITE
18-
${laptop_platform}= Check The Platform Is A Laptop
19-
IF ${laptop_platform}
17+
${is_laptop}= Check The Platform Is A Laptop
18+
VAR ${LAPTOP_PLATFORM}= ${is_laptop} scope=SUITE
19+
IF ${LAPTOP_PLATFORM}
2020
IF ${TESTS_IN_UBUNTU_SUPPORT}
2121
${bat0_present} ${ac_online} ${usb_pd_online}= Check Power Supply On Linux
2222
ELSE IF ${TESTS_IN_WINDOWS_SUPPORT}

0 commit comments

Comments
 (0)