Skip to content

Commit d04e493

Browse files
committed
Switch to the built in unittest module.
1 parent 904f4c7 commit d04e493

File tree

5 files changed

+293
-335
lines changed

5 files changed

+293
-335
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ python:
66
install:
77
- python setup.py install
88
script:
9-
- py.test test_replays test_s2gs
9+
- python -m unittest discover test_replays
10+
- python -m unittest discover test_s2gs
1011
notifications:
1112
irc: "chat.freenode.net#sc2reader"

CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ CHANGELOG
44
0.5.2 -
55
--------------------
66

7+
* Added a sc2json script contributed by @ChrisLundquist
78
* Hooked up travis-ci for continuous testing. https://travis-ci.org/GraylinKim/sc2reader
9+
* Switched to built in python unittest module for testing.
810
* Log a warning instead of throwing an exception when using an unknown colors.
911
* An unknown hex value will use the hex value as the name.
1012
* An unknown color name will use 0x000000 as the color.
1113

14+
1215
0.5.1 - June 1, 2013
1316
--------------------
1417

README.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,8 @@ We use py.test for testing. You can install it via pip/easy_install::
251251

252252
To run the tests just use::
253253

254-
py.test # Runs all the tests
255-
py.test test_replays # Only run tests on replays
256-
py.test test_s2gs # Only run tests on summary files
254+
python -m unittest discover test_replays
255+
python -m unittest discover test_s2gs
257256

258257
When repeatedly running tests it can be very helpful to make sure you've
259258
set a local cache directory to prevent long fetch times from battle.net::

0 commit comments

Comments
 (0)