Skip to content

Commit 53fa0d4

Browse files
authored
Add comment and rename a variable for readability
1 parent af0a722 commit 53fa0d4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/acceptance/test_acceptance.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
HERE = Path(__file__).parent
99
OUTPUT = HERE.parent.parent / "build/robot"
10-
SERVER_INFO = None
11-
LAB_INFO = None
10+
JUPYTER_SERVER_INFO = None
1211

1312
try:
1413
import jupyter_server
@@ -23,7 +22,9 @@ def test_robot():
2322

2423
env = dict(**os.environ)
2524

26-
if SERVER_INFO is None:
25+
# JUPYTER_LIBRARY_* env vars documentation:
26+
# https://robotframework-jupyterlibrary.readthedocs.io/en/stable/LIMITS.html#notebookapp-vs-serverapp
27+
if JUPYTER_SERVER_INFO is None:
2728
env.update(
2829
JUPYTER_LIBRARY_APP_COMMAND="jupyter-notebook",
2930
JUPYTER_LIBRARY_APP="NotebookApp",

0 commit comments

Comments
 (0)