  def testListLogs(self, mock_gcl_api):
    """Test that logs of project are correctly listed."""
    logs = mock_gcl_api.return_value.logs.return_value.list
    logs.return_value.execute.return_value = gcp_mocks.MOCK_LOGS_LIST
    list_logs = gcp_mocks.FAKE_LOGS.ListLogs()
    self.assertEqual(2, len(list_logs))
    self.assertEqual(gcp_mocks.FAKE_LOG_LIST[0], list_logs[0])
Test that logs of project are correctly listed.
tests/providers/gcp/internal/test_log.py