Skip to content

Commit 292ea2d

Browse files
committed
Add comment and rename a variable for readability
1 parent af0a722 commit 292ea2d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/acceptance/test_acceptance.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
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
15-
SERVER_INFO = jupyter_server.version_info
14+
JUPYTER_SERVER_INFO = jupyter_server.version_info
1615
except ImportError:
1716
pass
1817

@@ -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)