◐ Shell
clean mode source ↗

build(deps): bump getsentry/craft from 2.26.9 to 2.26.10 by dependabot[bot] · Pull Request #6586 · getsentry/sentry-python

Codecov Results 📊

90979 passed | ❌ 1 failed | ⏭️ 6037 skipped | Total: 97017 | Pass Rate: 93.78% | Execution Time: 312m 52s

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests 📉 -1
Failed Tests 📈 +1
Skipped Tests

➕ New Tests (1)

View new tests
  • test_trace_decorator_async_no_trx
    • File: tests.tracing.test_decorator
    • Status: ❌ Failing

❌ Failed Tests

test_trace_decorator_async_no_trx

File: tests.tracing.test_decorator
Suite: py3.11-gevent
Error: AssertionError: Expected 'mock' to be called once. Called 3 times. Calls: [call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'time.sleep'), call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'time.sleep'), call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'test_decorator.my_async_example_function')].

Stack Trace
tests/tracing/test_decorator.py:81: in test_trace_decorator_async_no_trx
    fake_debug.assert_called_once_with(
../../_temp/uv-python-dir/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/unittest/mock.py:950: in assert_called_once_with
    raise AssertionError(msg)
E   AssertionError: Expected 'mock' to be called once. Called 3 times.
E   Calls: [call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'time.sleep'),
E    call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'time.sleep'),
E    call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'test_decorator.my_async_example_function')].

✅ Patch coverage is 100.00%. Project has 2414 uncovered lines.
✅ Project coverage is 89.79%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    89.79%    89.79%        —%
==========================================
  Files          192       192         —
  Lines        23652     23652         —
  Branches      8154      8154         —
==========================================
+ Hits         21238     21238         —
- Misses        2414      2414         —
- Partials      1344      1344         —

Generated by Codecov Action