(self, request)
| 345 | |
| 346 | @pytest.fixture(params=[((), 0), ((1,), 1), ((3,), 3), ((1, 1, 1), 1), ((3, 3, 3), 3)]) |
| 347 | def depth_fixture(self, request): |
| 348 | depths, expected_value = request.param |
| 349 | categories = Categories() |
| 350 | for depth in depths: |
| 351 | categories._categories.append(instance_mock(request, Category, depth=depth)) |
| 352 | return categories, expected_value |
| 353 | |
| 354 | @pytest.fixture |
| 355 | def depth_raises_fixture(self, request): |
nothing calls this directly
no test coverage detected