Skip to content

Commit f6e7039

Browse files
committed
test: Remove exit code checks in xcmd test
1 parent 3e90b8e commit f6e7039

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/cli_test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -487,13 +487,10 @@ def test_help_with_xcmd(
487487
assert (project_dir / "extension" / "cli.py").exists()
488488

489489
res0 = runner.invoke(cli.root, [])
490-
assert res0.exit_code == 0, res0.output
491490
assert " xcmd " in res0.output, res0.output
492491

493492
res1 = runner.invoke(cli.root, ["xcmd"])
494-
assert res1.exit_code == 0, res1.output
495493
assert " hello-ext " in res1.output, res1.output
496494

497495
res2 = runner.invoke(cli.root, ["xcmd", "hello-ext"])
498-
assert res2.exit_code == 0, res2.output
499496
assert "FooBar!" in res2.output, res2.output

0 commit comments

Comments
 (0)