Permalink
Browse files

Add the unittests to the configuration

  • Loading branch information...
1 parent 8c60758 commit b8fc36a55f5638f9df76b16d742480c2cce8a7de @florentx florentx committed Mar 1, 2013
Showing with 9 additions and 1 deletion.
  1. +1 −0 .travis.yml
  2. +2 −0 CHANGES.txt
  3. +4 −1 Makefile
  4. +1 −0 setup.py
  5. +1 −0 tox.ini
View
@@ -13,6 +13,7 @@ script:
- python pep8.py --testsuite testsuite
- python pep8.py --statistics pep8.py
- python pep8.py --doctest
+ - python -m testsuite.test_all
matrix:
allow_failures:
- python: pypy
View
@@ -20,6 +20,8 @@ Changelog
* Do not report false E302 when the source file has a coding cookie or a
comment on the first line. (Issue #174)
+* Reorganize the tests and add basic tests for the API. (Issue #161)
+
1.4.4 (2013-02-24)
------------------
View
@@ -7,4 +7,7 @@ selftest :
doctest :
python pep8.py --doctest
-alltest : test selftest doctest
+unittest :
+ python -m testsuite.test_all
+
+alltest : test selftest doctest unittest
View
@@ -52,4 +52,5 @@ def get_long_description():
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
],
+ test_suite='testsuite.test_all',
)
View
@@ -12,6 +12,7 @@ commands =
{envpython} pep8.py --testsuite testsuite
{envpython} pep8.py --statistics pep8.py
{envpython} pep8.py --doctest
+ {envpython} pep8.py -m testsuite.test_all
[pep8]
select =

2 comments on commit b8fc36a

Contributor

zyluo replied Mar 8, 2013

How can I use the -m option? I can't find it in the code

Contributor

florentx replied Mar 8, 2013

Thank you for fixing the typo.

Please sign in to comment.