Exemple #1
0
 def test_circles(self):
     borders.circles(width=10, height=10)
     self.assertEqual(imghdr.what("circles.png"), "png")
Exemple #2
0
 def test_circles(self):
     borders.circles(width=10, height=10)
     self.assertEqual(imghdr.what('circles.png'), 'png')
Exemple #3
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from design import borders

from colors import rgb

borders.circles(width=14, height=14, color=rgb(255, 252, 229))