File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 33
44import logging
55import time
6+ from typing import Optional
7+
8+ import pytest # type: ignore
69
710from tests .conftest import TrackedContainer , get_health
811
912LOGGER = logging .getLogger (__name__ )
1013
1114
12- def test_health (container : TrackedContainer ) -> None :
15+ @pytest .mark .parametrize (
16+ "env" ,
17+ [
18+ None ,
19+ ["DOCKER_STACKS_JUPYTER_CMD=lab" ],
20+ ["RESTARTABLE=yes" ],
21+ ["DOCKER_STACKS_JUPYTER_CMD=notebook" ],
22+ ["DOCKER_STACKS_JUPYTER_CMD=server" ],
23+ ["DOCKER_STACKS_JUPYTER_CMD=nbclassic" ],
24+ ],
25+ )
26+ def test_health (container : TrackedContainer , env : Optional [list [str ]]) -> None :
1327 running_container = container .run_detached (
1428 tty = True ,
29+ environment = env ,
1530 )
1631 # sleeping some time to let the server start
1732 time .sleep (15 )
You can’t perform that action at this time.
0 commit comments