8 lines
224 B
Python
8 lines
224 B
Python
# retoor <retoor@molodetz.nl>
|
|
|
|
|
|
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
|