Commit 7467b19
authored
test: Assert
Currently, this test only asserts that the `traces_sampler` is called at
least once with the given arguments. However, we would expect it to be
called exactly once.
This PR changes the assertion to assert that the `traces_sampler` was
called exactly one time, and that that call included the given
arguments.
<!-- Describe your PR here -->
---
Thank you for contributing to `sentry-python`! Please add tests to
validate your changes, and lint your code using `tox -e linters`.
Running the test suite on your PR might require maintainer approval.traces_sampler called once (#4450)1 parent f5fb6e7 commit 7467b19
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
0 commit comments