(self)
| 599 | |
| 600 | @modifies_instrumentation_finders |
| 601 | def test_customfinder_greedy(self): |
| 602 | class Mine(instrumentation.ClassManager): |
| 603 | pass |
| 604 | |
| 605 | class A: |
| 606 | pass |
| 607 | |
| 608 | def find(cls): |
| 609 | return Mine |
| 610 | |
| 611 | instrumentation.instrumentation_finders.insert(0, find) |
| 612 | register_class(A) |
| 613 | eq_(type(manager_of_class(A)), Mine) |
| 614 | |
| 615 | @modifies_instrumentation_finders |
| 616 | def test_customfinder_pass(self): |
nothing calls this directly
no test coverage detected