(self, request)
| 567 | |
| 568 | @pytest.fixture(params=[((), 1), ((1,), 1), ((1, 2, 3), 6)]) |
| 569 | def leaf_fixture(self, request): |
| 570 | leaf_counts, expected_value = request.param |
| 571 | category = Category(None, None) |
| 572 | for leaf_count in leaf_counts: |
| 573 | category._sub_categories.append(instance_mock(request, Category, leaf_count=leaf_count)) |
| 574 | return category, expected_value |
| 575 | |
| 576 | @pytest.fixture( |
| 577 | params=[ |
nothing calls this directly
no test coverage detected