import pytest from pyblackbird_cc.resources.factories import ResourceModelFactory, PDFPageSnapshotModelFactory @pytest.fixture() def resources(): snapshots = PDFPageSnapshotModelFactory.create_batch(3) return ResourceModelFactory.create_batch(5)