()
| 31 | |
| 32 | |
| 33 | def test_svg_string(): |
| 34 | qr = qrcode.QRCode() |
| 35 | qr.add_data(UNICODE_TEXT) |
| 36 | img = qr.make_image(image_factory=svg.SvgFragmentImage) |
| 37 | file_like = io.BytesIO() |
| 38 | img.save(file_like) |
| 39 | file_like.seek(0) |
| 40 | assert file_like.read() in img.to_string() |
| 41 | |
| 42 | |
| 43 | def test_render_svg_with_background(): |
nothing calls this directly
no test coverage detected