File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -299,6 +299,21 @@ def test_rollup_minus():
299
299
assert command .rollup_value == 0
300
300
301
301
302
+ def test_rollup_iffy ():
303
+ """
304
+ @bors rollup=iffy
305
+ """
306
+
307
+ author = "manishearth"
308
+ body = "@bors rollup=iffy"
309
+ commands = parse_issue_comment (author , body , commit , "bors" )
310
+
311
+ assert len (commands ) == 1
312
+ command = commands [0 ]
313
+ assert command .action == 'rollup'
314
+ assert command .rollup_value == - 1
315
+
316
+
302
317
def test_rollup_never ():
303
318
"""
304
319
@bors rollup=never
@@ -311,7 +326,7 @@ def test_rollup_never():
311
326
assert len (commands ) == 1
312
327
command = commands [0 ]
313
328
assert command .action == 'rollup'
314
- assert command .rollup_value == - 1
329
+ assert command .rollup_value == - 2
315
330
316
331
317
332
def test_rollup_maybe ():
You can’t perform that action at this time.
0 commit comments