aboutsummaryrefslogtreecommitdiff
path: root/tests/test___init__.py
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-09-01 12:47:53 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-09-01 12:47:53 -0400
commit03aea08e2ce2ecabcebb618ee9f6d18a909c41d4 (patch)
tree632cd57017810527b9d24ff35fed315b312f4f7f /tests/test___init__.py
parentb62e04aca672c0894638035ca777035f7658a05a (diff)
downloadb4-03aea08e2ce2ecabcebb618ee9f6d18a909c41d4.tar.gz
tests: test partial reroll correctness
When rerolling partial series, check that the trailers are applied correctly. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'tests/test___init__.py')
-rw-r--r--tests/test___init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test___init__.py b/tests/test___init__.py
index f97e166..4beeb91 100644
--- a/tests/test___init__.py
+++ b/tests/test___init__.py
@@ -92,6 +92,7 @@ def test_parse_trailers(source, expected):
('custody', {}, {'addmysob': True, 'copyccs': True}, 'unordered', {}),
('custody', {}, {'addmysob': True, 'copyccs': True}, 'ordered',
{'trailer-order': 'Cc,Fixes*,Link*,Suggested*,Reviewed*,Tested*,*'}),
+ ('partial-reroll', {}, {'addmysob': True}, 'defaults', {}),
])
def test_followup_trailers(source, serargs, amargs, reference, b4cfg):
b4.USER_CONFIG = {