def test_run(self, mock_call): # WHEN ngrok.run() # THEN mock_call.assert_called_once()
def test_run(self, mock_call): # WHEN ngrok.run() # THEN self.assertTrue(mock_call.called)