mirror of
https://github.com/vale981/releases
synced 2025-03-05 09:41:42 -05:00
Add test proving regression found re #45
Backported feature-like objs not being added to feature bucket
This commit is contained in:
parent
07a690ef6e
commit
f6c21096a0
1 changed files with 11 additions and 0 deletions
|
@ -71,6 +71,17 @@ class organization(Spec):
|
|||
[self.s, self.f]
|
||||
)
|
||||
|
||||
def backported_features_also_appear_in_feature_releases(self):
|
||||
entries = (
|
||||
'1.1.0', '1.0.2', self.bf, self.b, self.s,
|
||||
)
|
||||
# Ensure bf (backported feature) is in BOTH 1.0.2 AND 1.1.0
|
||||
expected = {
|
||||
'1.0.2': [self.bf, self.b],
|
||||
'1.1.0': [self.bf, self.s],
|
||||
}
|
||||
expect_releases(entries, expected)
|
||||
|
||||
def unmarked_bullet_list_items_treated_as_bugs(self):
|
||||
fake = list_item('', paragraph('', '', raw('', 'whatever')))
|
||||
changelog = releases('1.0.2', self.f, fake)
|
||||
|
|
Loading…
Add table
Reference in a new issue