We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e7f797 commit 2a53850Copy full SHA for 2a53850
1 file changed
tests/usethis/_core/test_core_ci.py
@@ -506,3 +506,17 @@ def test_message(
506
# Assert
507
out, _ = capfd.readouterr()
508
assert out == "✔ Removing 'bitbucket-pipelines.yml'.\n"
509
+
510
+ class TestHow:
511
+ def test_message(self, uv_init_dir: Path, capfd: pytest.CaptureFixture[str]):
512
+ # Act
513
+ with change_cwd(uv_init_dir), files_manager():
514
+ use_ci_bitbucket(how=True)
515
516
+ # Assert
517
+ out, err = capfd.readouterr()
518
+ assert not err
519
+ assert out == (
520
+ "ℹ Consider `usethis tool pytest` to test your code for the pipeline.\n" # noqa: RUF001
521
+ "☐ Run your pipeline via the Bitbucket website.\n"
522
+ )
0 commit comments