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

            assert mc.called