Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
lint fix
  • Loading branch information
daniel-sanche committed Jun 18, 2021
commit 2fcad27281b9c702e944df209643b5355718115e
3 changes: 3 additions & 0 deletions tests/unit/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ def test_log_inference_empty(self):
from google.cloud.logging_v2.handlers._monitored_resources import (
detect_resource,
)

DEFAULT_LABELS = {"foo": "spam"}
ENTRIES = [
{
Expand All @@ -514,6 +515,7 @@ def test_log_inference_text(self):
from google.cloud.logging_v2.handlers._monitored_resources import (
detect_resource,
)

TEXT = "TEXT"
ENTRIES = [
{
Expand All @@ -534,6 +536,7 @@ def test_log_inference_struct(self):
from google.cloud.logging_v2.handlers._monitored_resources import (
detect_resource,
)

STRUCT = {"message": "MESSAGE", "weather": "cloudy"}
ENTRIES = [
{
Expand Down