(request)
| 199 | @sensitive_variables("sauce") |
| 200 | @sensitive_post_parameters("bacon-key", "sausage-key") |
| 201 | async def async_sensitive_function(request): |
| 202 | # Do not just use plain strings for the variables' values in the code so |
| 203 | # that the tests don't return false positives when the function's source is |
| 204 | # displayed in the exception report. |
| 205 | cooked_eggs = "".join(["s", "c", "r", "a", "m", "b", "l", "e", "d"]) # NOQA |
| 206 | sauce = "".join( # NOQA |
| 207 | ["w", "o", "r", "c", "e", "s", "t", "e", "r", "s", "h", "i", "r", "e"] |
| 208 | ) |
| 209 | raise Exception |
| 210 | |
| 211 | |
| 212 | async def async_sensitive_view_nested(request): |
no test coverage detected