Test cartoon.
| 5 | |
| 6 | |
| 7 | class TestCartoon(unittest.TestCase): |
| 8 | """Test cartoon.""" |
| 9 | |
| 10 | def setUp(self): |
| 11 | pass |
| 12 | |
| 13 | def tearDown(self): |
| 14 | pass |
| 15 | |
| 16 | def test_model(self): |
| 17 | imgs = [ |
| 18 | "backend/test_images/sky.jpg", |
| 19 | ] |
| 20 | img = Image.open(imgs[0]) |
| 21 | output_image = cartoonify(img) |
| 22 | output_image.save("output.jpg") |
| 23 |
nothing calls this directly
no outgoing calls
no test coverage detected