def test_multiline_img_tag(self):
        tag = """<img
src="logo.png" />"""
        self.assertEqual(
            utils.transform_img_src(tag),
            """<img
src="logo.png?grayscale=1" />""",
        )
 def test_simple_img_tag_w_parmas(self):
     tag = """<img src="logo.png?param1=2" />"""
     self.assertEqual(utils.transform_img_src(tag), """<img src="logo.png?param1=2&grayscale=1" />""")