features/steps/cli_steps.py
def check_jupyter_lab_proc_on_port(context: behave.runner.Context, port: int):
    """Check that jupyter lab service is running on specified port.

    Args:
        context: Test context
        port: Port to check

    """
    url = "http://localhost:%d" % int(port)
    try:
        util.wait_for(
            func=_check_service_up,
            context=context,
            url=url,
            string='<a href="/lab"',
            print_error=True,
        )
    finally:
        context.result.terminate()
Check that jupyter lab service is running on specified port.

    Args:
        context: Test context
        port: Port to check

    
Check that jupyter lab service is running on specified port.
Check that jupyter lab service is running on specified port .
def check_jupyter_lab_proc_on_port(context: behave.runner.Context, port: int):
    url = "http://localhost:%d" % int(port)
    try:
        util.wait_for(
            func=_check_service_up,
            context=context,
            url=url,
            string='<a href="/lab"',
            print_error=True,
        )
    finally:
        context.result.terminate()
def check_jupyter_lab_proc_on_port ( context : behave . runner . Context , port : int ) : url = "http://localhost:%d" % int ( port ) try : util . wait_for ( func = _check_service_up , context = context , url = url , string = '<a href="/lab"' , print_error = True , ) finally : context . result . terminate ( )
Check that jupyter lab service is running on specified port.
Check that jupyter lab service is running on specified port .
"""Check that jupyter lab service is running on specified port.

    Args:
        context: Test context
        port: Port to check

    """
context
behave.runner.Context
None
port
int
Port to check
Port to check