@@ -366,7 +366,7 @@ def test_request_fetch__request(self, capsys, caplog):
366
366
args = {'<request>' : '42' })
367
367
out , err = capsys .readouterr ()
368
368
assert ('guyzmo' , 'git-repo' , '42' ) == seen_args
369
- assert {} == extra_args
369
+ assert {'force' : False } == extra_args
370
370
assert out == ''
371
371
assert 'Successfully fetched request id `42` of `guyzmo/git-repo` into `pr/42`!' in caplog .text
372
372
@@ -378,7 +378,7 @@ def test_request_fetch__request(self, capsys, caplog):
378
378
# seen_args, extra_args = self.main_request_fetch(rc=0, args={'<request>': '42'})
379
379
# out, err = capsys.readouterr()
380
380
# assert ('guyzmo', 'git-repo', '42') == seen_args
381
- # assert {} == extra_args
381
+ # assert {'force': False } == extra_args
382
382
# assert out == ''
383
383
# assert 'Successfully fetched request id `42` of `guyzmo/git-repo` into `pr/42`!' in caplog.text
384
384
@@ -389,7 +389,7 @@ def test_request_fetch__request__no_repo_slug__https(self, capsys, caplog):
389
389
seen_args , extra_args = self .main_request_fetch (rc = 0 , args = {'<request>' : '42' })
390
390
out , err = capsys .readouterr ()
391
391
assert ('guyzmo' , 'git-repo' , '42' ) == seen_args
392
- assert {} == extra_args
392
+ assert {'force' : False } == extra_args
393
393
assert out == ''
394
394
assert 'Successfully fetched request id `42` of `guyzmo/git-repo` into `pr/42`!' in caplog .text
395
395
@@ -400,7 +400,7 @@ def test_request_fetch__bad_request(self, capsys, caplog):
400
400
args = {'<request>' : 'bad' , '--verbose' : 0 })
401
401
out , err = capsys .readouterr ()
402
402
assert ('guyzmo' , 'git-repo' , 'bad' ) == seen_args
403
- assert {} == extra_args
403
+ assert {'force' : False } == extra_args
404
404
assert out == ''
405
405
assert 'Fatal error: bad request for merge!' in caplog .text
406
406
@@ -554,7 +554,7 @@ def test_request_fetch__no_repo_slug(self, capsys, caplog):
554
554
args = {'<request>' : '42' })
555
555
out , err = capsys .readouterr ()
556
556
assert ('guyzmo' , 'git-repo' , '42' ) == seen_args
557
- assert {} == extra_args
557
+ assert {'force' : False } == extra_args
558
558
assert out == ''
559
559
assert 'Successfully fetched request id `42` of `guyzmo/git-repo` into `pr/42`!' in caplog .text
560
560
0 commit comments