(config)
| 57 | |
| 58 | |
| 59 | def test_small_answer(config): |
| 60 | conventional_commits = ConventionalCommitsCz(config) |
| 61 | answers = { |
| 62 | "prefix": "fix", |
| 63 | "scope": "users", |
| 64 | "subject": "email pattern corrected", |
| 65 | "is_breaking_change": False, |
| 66 | "body": "", |
| 67 | "footer": "", |
| 68 | } |
| 69 | message = conventional_commits.message(answers) |
| 70 | assert message == "fix(users): email pattern corrected" |
| 71 | |
| 72 | |
| 73 | def test_long_answer(config): |
nothing calls this directly
no test coverage detected