(pytester: Pytester)
| 362 | |
| 363 | |
| 364 | def test_istest_function_decorator(pytester: Pytester) -> None: |
| 365 | p = pytester.makepyfile( |
| 366 | """ |
| 367 | import nose.tools |
| 368 | @nose.tools.istest |
| 369 | def not_test_prefix(): |
| 370 | pass |
| 371 | """ |
| 372 | ) |
| 373 | result = pytester.runpytest(p) |
| 374 | result.assert_outcomes(passed=1) |
| 375 | |
| 376 | |
| 377 | def test_nottest_function_decorator(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected