mirror of
https://github.com/Sea-Haven-Industries/procurement-ingest.git
synced 2026-09-30 16:33:14 +00:00
style(tests): wrap long lines in sentry_init tests
This commit is contained in:
parent
620e380820
commit
39c30036be
1 changed files with 8 additions and 2 deletions
|
|
@ -127,7 +127,10 @@ def test_before_send_drops_exception_and_thread_frame_locals(sentry_mod):
|
|||
{
|
||||
"stacktrace": {
|
||||
"frames": [
|
||||
{"function": "extract_with_claude", "vars": {"prompt": "EXTRACT"}}
|
||||
{
|
||||
"function": "extract_with_claude",
|
||||
"vars": {"prompt": "EXTRACT"},
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -141,4 +144,7 @@ def test_before_send_drops_exception_and_thread_frame_locals(sentry_mod):
|
|||
assert "vars" not in out["exception"]["values"][0]["stacktrace"]["frames"][0]
|
||||
assert "vars" not in out["threads"]["values"][0]["stacktrace"]["frames"][0]
|
||||
assert "vars" not in out["stacktrace"]["frames"][0]
|
||||
assert out["exception"]["values"][0]["stacktrace"]["frames"][0]["function"] == "handler"
|
||||
assert (
|
||||
out["exception"]["values"][0]["stacktrace"]["frames"][0]["function"]
|
||||
== "handler"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue