Skip to content

Commit 1a5eed8

Browse files
committed
Make integration test conditional for CI compatibility.
1 parent 3e28cfd commit 1a5eed8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebook/tests/test_notebookapp_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import subprocess
44
import time
55

6-
from ipython_genutils.testing.decorators import skip_win32
6+
from ipython_genutils.testing.decorators import skip_win32, onlyif
77
from notebook import DEFAULT_NOTEBOOK_PORT
88

99
from .launchnotebook import UNIXSocketNotebookTestBase
@@ -62,7 +62,7 @@ def _ensure_stopped(check_msg='There are no running servers'):
6262
raise AssertionError('expected all servers to be stopped')
6363

6464

65-
@skip_win32
65+
@onlyif(bool(os.environ.get('RUN_NB_INTEGRATION_TESTS', False)), 'for local testing')
6666
def test_stop_multi_integration():
6767
"""Tests lifecycle behavior for mixed-mode server types w/ default ports.
6868

0 commit comments

Comments
 (0)