We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 575be13 commit e34c55aCopy full SHA for e34c55a
1 file changed
tests/console/commands/test_publish.py
@@ -233,6 +233,11 @@ def test_publish_build_no_interaction_skips_confirmation(
233
exit_code = app_tester.execute("publish --build --no-interaction --dry-run")
234
235
assert exit_code == 0
236
+ output = app_tester.io.fetch_output()
237
+ error = app_tester.io.fetch_error()
238
+
239
confirm.assert_not_called()
240
+ assert "Build anyway?" not in output
241
+ assert "Build anyway?" not in error
242
command_call.assert_called_once_with("build", args="--output dist")
243
assert publisher_publish.call_count == 1
0 commit comments