def test_main(self, mock_call): # WHEN ngrok.main() # THEN mock_call.assert_called_once()
def test_main(self, mock_call): # WHEN ngrok.main() # THEN self.assertTrue(mock_call.called)