Skip to content

Commit b8fc36a

Browse files
committed
Add the unittests to the configuration
1 parent 8c60758 commit b8fc36a

5 files changed

Lines changed: 9 additions & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ script:
1313
- python pep8.py --testsuite testsuite
1414
- python pep8.py --statistics pep8.py
1515
- python pep8.py --doctest
16+
- python -m testsuite.test_all
1617
matrix:
1718
allow_failures:
1819
- python: pypy

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Changelog
2020
* Do not report false E302 when the source file has a coding cookie or a
2121
comment on the first line. (Issue #174)
2222

23+
* Reorganize the tests and add basic tests for the API. (Issue #161)
24+
2325

2426
1.4.4 (2013-02-24)
2527
------------------

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ selftest :
77
doctest :
88
python pep8.py --doctest
99

10-
alltest : test selftest doctest
10+
unittest :
11+
python -m testsuite.test_all
12+
13+
alltest : test selftest doctest unittest

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,5 @@ def get_long_description():
5252
'Programming Language :: Python :: 3',
5353
'Topic :: Software Development :: Libraries :: Python Modules',
5454
],
55+
test_suite='testsuite.test_all',
5556
)

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ commands =
1212
{envpython} pep8.py --testsuite testsuite
1313
{envpython} pep8.py --statistics pep8.py
1414
{envpython} pep8.py --doctest
15+
{envpython} pep8.py -m testsuite.test_all
1516

1617
[pep8]
1718
select =

0 commit comments

Comments
 (0)