(config)
| 71 | |
| 72 | |
| 73 | def test_long_answer(config): |
| 74 | conventional_commits = ConventionalCommitsCz(config) |
| 75 | answers = { |
| 76 | "prefix": "fix", |
| 77 | "scope": "users", |
| 78 | "subject": "email pattern corrected", |
| 79 | "is_breaking_change": False, |
| 80 | "body": "complete content", |
| 81 | "footer": "closes #24", |
| 82 | } |
| 83 | message = conventional_commits.message(answers) |
| 84 | assert ( |
| 85 | message |
| 86 | == "fix(users): email pattern corrected\n\ncomplete content\n\ncloses #24" |
| 87 | ) |
| 88 | |
| 89 | |
| 90 | def test_breaking_change_in_footer(config): |
nothing calls this directly
no test coverage detected