MCPcopy Create free account
hub / github.com/alpha2phi/python-apps / TestCartoon

Class TestCartoon

cartoon-camera/backend/tests/test_cartoon.py:7–22  ·  view source on GitHub ↗

Test cartoon.

Source from the content-addressed store, hash-verified

5
6
7class 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected