def METHOD_NAME(self):
    # Create a video, and a entry point that contains videos.
    work = self._work(with_license_pool=True)
    work.license_pools[0].presentation_edition.medium = Edition.VIDEO_MEDIUM
    class Videos(MediumEntryPoint):
        INTERNAL_NAME = Edition.VIDEO_MEDIUM
    qu = self._db.query(Work)
    # The default entry points filter out the video.
    for entrypoint in EbooksEntryPoint, AudiobooksEntryPoint:
        modified = entrypoint.modify_database_query(self._db, qu)
        assert [] == modified.all()
    # But the video entry point includes it.
    videos = Videos.modify_database_query(self._db, qu)
    assert [work.id] == [x.id for x in videos]