(util: UtilFixture, capsys: pytest.CaptureFixture)
| 1255 | |
| 1256 | @pytest.mark.usefixtures("tmp_commitizen_project") |
| 1257 | def test_bump_get_next(util: UtilFixture, capsys: pytest.CaptureFixture): |
| 1258 | util.create_file_and_commit("feat: new file") |
| 1259 | |
| 1260 | with pytest.raises(DryRunExit): |
| 1261 | util.run_cli("bump", "--yes", "--get-next") |
| 1262 | |
| 1263 | out, _ = capsys.readouterr() |
| 1264 | assert "0.2.0" in out |
| 1265 | assert git.tag_exist("0.2.0") is False |
| 1266 | |
| 1267 | |
| 1268 | @pytest.mark.usefixtures("tmp_commitizen_project") |
nothing calls this directly
no test coverage detected