tools: Moved TOOLS_FOR_EXTENSIONS into tools.toml
- Now a tool can be added/removed by editing one file.
This commit is contained in:
parent
915eac35ba
commit
f414cc4a96
3 changed files with 31 additions and 30 deletions
|
|
@ -218,7 +218,7 @@ class ToolsTestCase(unittest.TestCase):
|
|||
self._test_tool(tools.php7_syntax, [("root.php", tools.Status.ok)])
|
||||
|
||||
def test_pil(self):
|
||||
for extension in tools.IMAGE_EXTENSIONS:
|
||||
for extension in ["png", "jpg", "gif", "bmp", "ppm", "tiff", "tga"]:
|
||||
self._test_tool(tools.pil, [("circle." + extension,
|
||||
tools.Status.normal)])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue