FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add system tests for logging w/ insert_id/severty/http_request metdata. by tseaver · Pull Request #1682 · googleapis/google-cloud-python · GitHub

Add system tests for logging w/ insert_id/severty/http_request metdata. - #1682

Merged
tseaver merged 1 commit into
googleapis:logging-apifrom
tseaver:logging-system_tests-log_w_metadata
Mar 30, 2016
Merged

Add system tests for logging w/ insert_id/severty/http_request metdata.#1682
tseaver merged 1 commit into
googleapis:logging-apifrom
tseaver:logging-system_tests-log_w_metadata

Conversation

tseaver commented Mar 30, 2016

Copy link
Copy Markdown
Contributor

No description provided.

tseaver added testing api: logging Issues related to the Cloud Logging API. labels Mar 30, 2016
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 30, 2016
Comment thread system_tests/logging_.py
self.to_delete.append(logger)
logger.log_text(TEXT_PAYLOAD, insert_id=INSERT_ID, severity=SEVERITY,
http_request=REQUEST)
time.sleep(2)

This comment was marked as spam.

This comment was marked as spam.

dhermes commented Mar 30, 2016

Copy link
Copy Markdown
Contributor

LGTM

tseaver merged commit 451fec9 into googleapis:logging-api Mar 30, 2016
tseaver deleted the logging-system_tests-log_w_metadata branch March 30, 2016 19:50
parthea added a commit that referenced this pull request Nov 24, 2025
parthea pushed a commit that referenced this pull request Mar 6, 2026
* fix: AccessEntry API representation parsing

Overriding the `AccessEntry#_properties` with a deep copy of the API resource overwrites the `role` property set in `AccessEntry.__init__` which isn't present in the resource if the `role` is set to `None`. This causes `AccessEntry`s generated from API representations to no longer evaluate to equal with equivalent `AccessEntry` resources instantiated through `AccessEntry.__init__`. The added unit test fails without the change and passes with the change.

* build: formatting

---------

Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
parthea pushed a commit that referenced this pull request Apr 1, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: logging Issues related to the Cloud Logging API. cla: yes This human has signed the Contributor License Agreement. testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL