(self, request)
| 512 | |
| 513 | @pytest.fixture(params=[((), 1), ((1,), 2), ((1, 1, 1), 2), ((2, 2, 2), 3)]) |
| 514 | def depth_fixture(self, request): |
| 515 | depths, expected_value = request.param |
| 516 | category = Category(None, None) |
| 517 | for depth in depths: |
| 518 | category._sub_categories.append(instance_mock(request, Category, depth=depth)) |
| 519 | return category, expected_value |
| 520 | |
| 521 | @pytest.fixture |
| 522 | def depth_raises_fixture(self, request): |
nothing calls this directly
no test coverage detected