File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ script:
62
62
- coverage combine .coverage*
63
63
- coverage xml -i
64
64
- codecov --file coverage.xml
65
- - zeus upload -t "application/x-cobertura+xml" coverage.xml
65
+ - ' [[ -z "$ZEUS_API_TOKEN" ]] || zeus upload -t "application/x-cobertura+xml" coverage.xml'
66
66
67
67
notifications :
68
68
webhooks :
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ def __init__(
133
133
self .hub = hub
134
134
self ._tags = {} # type: Dict[str, str]
135
135
self ._data = {} # type: Dict[str, Any]
136
- self .start_timestamp = datetime .now ()
136
+ self .start_timestamp = datetime .utcnow ()
137
137
138
138
#: End timestamp of span
139
139
self .timestamp = None # type: Optional[datetime]
@@ -279,7 +279,7 @@ def finish(self, hub=None):
279
279
# This transaction is already finished, so we should not flush it again.
280
280
return None
281
281
282
- self .timestamp = datetime .now ()
282
+ self .timestamp = datetime .utcnow ()
283
283
284
284
_maybe_create_breadcrumbs_from_span (hub , self )
285
285
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ def test_transport_works(
44
44
Hub .current .bind_client (client )
45
45
request .addfinalizer (lambda : Hub .current .bind_client (None ))
46
46
47
- add_breadcrumb (level = "info" , message = "i like bread" , timestamp = datetime .now ())
47
+ add_breadcrumb (level = "info" , message = "i like bread" , timestamp = datetime .utcnow ())
48
48
capture_message ("löl" )
49
49
50
50
getattr (client , client_flush_method )()
You can’t perform that action at this time.
0 commit comments