示例#1
0
 def test_human_raises(self):
     with patch('common.release_api.confirm', return_value=False) as mc:
         ra.test_human()
示例#2
0
    def test_human(self):
        with patch('common.release_api.confirm') as mc:
            ra.test_human()

            assert mc.called