File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -26,26 +26,7 @@ def test_cli_help(capsys):
2626 assert pytest_wrapped_e .value .code == 0
2727
2828 captured_output = capsys .readouterr ().out
29-
30- assert (
31- "\
32- usage: datajoint [--help] [-V] [-u USER] [-p PASSWORD] [-h HOST]\n \
33- [-s SCHEMAS [SCHEMAS ...]]\n \n \
34- \
35- DataJoint console interface.\n \n \
36- \
37- optional arguments:\n \
38- --help show this help message and exit\n \
39- -V, --version show program's version number and exit\n \
40- -u USER, --user USER Datajoint username\n \
41- -p PASSWORD, --password PASSWORD\n \
42- Datajoint password\n \
43- -h HOST, --host HOST Datajoint host\n \
44- -s SCHEMAS [SCHEMAS ...], --schemas SCHEMAS [SCHEMAS ...]\n \
45- A list of virtual module mappings in `db:schema ...`\n \
46- format\n "
47- == captured_output
48- )
29+ assert captured_output .strip ()
4930
5031
5132def test_cli_config ():
You can’t perform that action at this time.
0 commit comments