File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -176,12 +176,10 @@ def process_trace(self, trace):
176
176
assert app_started_events [0 ]["payload" ]["error" ]["code" ] == 1
177
177
assert (
178
178
"error applying processor <__main__.FailingFilture object at"
179
- in app_started_events [0 ]["payload" ]["error" ]["message" ]
180
- )
181
- pattern = re .compile (
182
- ".*ddtrace/_trace/processor/__init__.py/__init__.py:[0-9]+: "
183
- "error applying processor <__main__.FailingFilture object at 0x[0-9a-f]+>"
179
+ not in app_started_events [0 ]["payload" ]["error" ]["message" ]
184
180
)
181
+ assert "error applying processor %r" in app_started_events [0 ]["payload" ]["error" ]["message" ]
182
+ pattern = re .compile (".*ddtrace/_trace/processor/__init__.py/__init__.py:[0-9]+: " "error applying processor %r" )
185
183
assert pattern .match (app_started_events [0 ]["payload" ]["error" ]["message" ]), app_started_events [0 ]["payload" ][
186
184
"error"
187
185
]["message" ]
You can’t perform that action at this time.
0 commit comments