# retoor def test_galleries_have_images(anon): for path, minimum in (("/flyers", 4), ("/memes", 10)): html = anon.get(path).text assert html.count("data-lightbox") >= minimum, path