def METHOD_NAME(self, tmpdir):
    test_filename = f"test_greencheck_image_green.png"
    domain = "google.com"
    if pathlib.Path(test_filename).exists():
        pathlib.Path(test_filename).unlink()
    img = fetch_template_image(domain, green=True)
    updated_img = annotate_img(img, domain, green=True)
    img_path = str(pathlib.Path(tmpdir) / test_filename)
    updated_img.save(img_path)
    # webbrowser.open(img_path)