Skip to content

Commit c480da7

Browse files
tobiasdiezorlitzky
authored andcommitted
Fix notebook cmd test
1 parent e7ba904 commit c480da7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/cli/notebook_cmd_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ def test_invalid_notebook_choice():
3434

3535

3636
def test_help():
37-
parser = argparse.ArgumentParser()
37+
parser = argparse.ArgumentParser(prog="sage")
3838
JupyterNotebookCmd.extend_parser(parser)
39-
assert parser.format_usage() == "usage: pytest [-h] [-n [{jupyter,jupyterlab}]]\n"
39+
assert parser.format_usage() == "usage: sage [-h] [-n [{jupyter,jupyterlab}]]\n"

0 commit comments

Comments
 (0)