Skip to content

Commit 64da84f

Browse files
committed
Fix failing tests (jupyter-core 5.0, lab 3.5)
1 parent b8a4b7b commit 64da84f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

atest/Keywords.resource

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ Create Notebok Server Config
4141
[Documentation] Copies in notebook server config file and updates accordingly
4242
[Arguments] ${server_extension_enabled}=${True}
4343
${conf} = Set Variable ${NOTEBOOK DIR}${/}${JPSERVER CONF JSON}
44+
Set Environment Variable
45+
... name=JUPYTER_CONFIG_DIR
46+
... value=${NOTEBOOK DIR}
4447
${extra_node_roots} = Create List ${ROOT}
4548
${port} = Get Unused Port
4649
Set Global Variable ${PORT} ${port}
@@ -217,7 +220,7 @@ Ensure Sidebar Is Closed
217220
END
218221

219222
Refresh File List
220-
IF '${LAB VERSION}'.startswith('3.4')
223+
IF [int(part) for part in "${LAB VERSION}".split(".")] >= [3, 4, 0]
221224
Click Element ${JLAB CSS REFRESH FILES}
222225
ELSE
223226
Click Element ${JLAB CSS REFRESH F_OLD}

0 commit comments

Comments
 (0)