def test_create() -> None: import argparse from bokeh.command.subcommand import Subcommand obj = scserve.Serve(parser=argparse.ArgumentParser()) assert isinstance(obj, Subcommand)
def test_create(self) -> None: from bokeh.command.subcommand import Subcommand obj = bcss.Serve(parser=argparse.ArgumentParser()) assert isinstance(obj, Subcommand)
def test_default_customize_applications_is_identity(self): obj = bcss.Serve(parser=argparse.ArgumentParser()) apps = {} result = obj.customize_applications(argparse.Namespace(), apps) assert result == apps assert result is not apps
def test_default_customize_kwargs_is_identity(self): obj = bcss.Serve(parser=argparse.ArgumentParser()) kws = {} result = obj.customize_kwargs(argparse.Namespace(), kws) assert result == kws assert result is not kws