sentry-python
sentry-python copied to clipboard
tests: Remove forked from Django tests
Description
Issues
Reminders
- Please add tests to validate your changes, and lint your code using
tox -e linters. - Add GH Issue ID & Linear ID (if applicable)
- PR title should use conventional commit style (
feat:,fix:,ref:,meta:) - For external contributors: CONTRIBUTING.md, Sentry SDK development docs, Discord community
:x: 1 Tests Failed:
| Tests completed | Failed | Passed | Skipped |
|---|---|---|---|
| 23753 | 1 | 23752 | 1715 |
View the top 1 failed test(s) by shortest run time
tests.tracing.test_decorator::test_trace_decorator_async_no_trxStack Traces | 0.138s run time
tests/tracing/test_decorator.py:81: in test_trace_decorator_async_no_trx fake_debug.assert_called_once_with( .../hostedtoolcache/Python/3.10.18.../x64/lib/python3.10/unittest/mock.py:940: in assert_called_once_with raise AssertionError(msg) E AssertionError: Expected 'mock' to be called once. Called 8 times. E Calls: [call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'test_decorator.my_async_example_function'), 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.', 'time.sleep'), E call('[Monitor] health check negative, downsampling with a factor of %d', 10), 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.', 'time.sleep'), E call('[Monitor] health check negative, downsampling with a factor of %d', 10), E call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'time.sleep')].
To view more test analytics, go to the Test Analytics Dashboard 📋 Got 3 mins? Take this short survey to help us improve Test Analytics.