@@ -573,8 +573,9 @@ def test_log_text_explicit(self):
573573 type = 'gae_app' ,
574574 labels = {
575575 'module_id' : 'default' ,
576- 'version_id' : 'test' ,
577- })
576+ 'version_id' : 'test'
577+ }
578+ )
578579
579580 client = _Client (project = self .PROJECT , connection = _make_credentials ())
580581 logger = _Logger ()
@@ -632,7 +633,7 @@ def test_log_struct_explicit(self):
632633 timestamp = TIMESTAMP , resource = RESOURCE )
633634 self .assertEqual (
634635 batch .entries ,
635- [('struct' , STRUCT , LABELS , IID , SEVERITY , REQUEST , TIMESTAMP ,
636+ [('struct' , STRUCT , LABELS , IID , SEVERITY , REQUEST , TIMESTAMP ,
636637 RESOURCE )])
637638
638639 def test_log_proto_defaults (self ):
@@ -732,7 +733,6 @@ def test_commit_w_bound_client(self):
732733 from google .cloud ._helpers import _datetime_to_rfc3339
733734 from google .cloud .logging .logger import _GLOBAL_RESOURCE
734735
735-
736736 TEXT = 'This is the entry text'
737737 STRUCT = {'message' : TEXT , 'weather' : 'partly cloudy' }
738738 message = Struct (fields = {'foo' : Value (bool_value = True )})
@@ -825,7 +825,6 @@ def test_context_mgr_success(self):
825825 from google .cloud .logging .logger import Logger
826826 from google .cloud .logging .logger import _GLOBAL_RESOURCE
827827
828-
829828 TEXT = 'This is the entry text'
830829 STRUCT = {'message' : TEXT , 'weather' : 'partly cloudy' }
831830 message = Struct (fields = {'foo' : Value (bool_value = True )})
0 commit comments