[tools] Added pil to view image files.
This commit is contained in:
parent
6edcfbb746
commit
e1742f6959
20 changed files with 198 additions and 4 deletions
|
|
@ -212,6 +212,14 @@ class ToolsTestCase(unittest.TestCase):
|
|||
def test_php5_syntax(self):
|
||||
self._test_tool(tools.php5_syntax, [("root.php", tools.Status.ok)])
|
||||
|
||||
def test_pil(self):
|
||||
for extension in tools.IMAGE_EXTENSIONS:
|
||||
self._test_tool(tools.pil, [("circle." + extension,
|
||||
tools.Status.normal)])
|
||||
|
||||
def test_pil_half(self):
|
||||
self._test_tool(tools.pil_half, [("circle.png", tools.Status.normal)])
|
||||
|
||||
|
||||
class LruCacheWithEvictionTestCase(unittest.TestCase):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue