mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 17:54:32 +03:00
Add faux test suite
It would be great if we could start moving PIL's tests in to a proper test suite i.e. inside a Python package
This commit is contained in:
parent
59e3b7113f
commit
f7393d8977
17
PIL/tests.py
Normal file
17
PIL/tests.py
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
|
class PillowTests(unittest.TestCase):
|
||||||
|
"""
|
||||||
|
Can we start moving the test suite here?
|
||||||
|
"""
|
||||||
|
|
||||||
|
def move_test_suite_here(self):
|
||||||
|
"""
|
||||||
|
Great idea!
|
||||||
|
"""
|
||||||
|
assert True is True
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
unittest.main()
|
1
setup.py
1
setup.py
|
@ -588,6 +588,7 @@ setup(
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
scripts=glob.glob("Scripts/pil*.py"),
|
scripts=glob.glob("Scripts/pil*.py"),
|
||||||
|
test_suite='PIL.tests',
|
||||||
keywords=["Imaging",],
|
keywords=["Imaging",],
|
||||||
license='Standard PIL License',
|
license='Standard PIL License',
|
||||||
zip_safe=True,
|
zip_safe=True,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user