Skip to content

Commit

Permalink
Add unit tests for Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
csev committed Jun 27, 2017
1 parent 7996409 commit 7259e87
Show file tree
Hide file tree
Showing 107 changed files with 136,430 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ code3/*.zip
book3/x.pdf
book3/x.epub
book3/x.mobi
unit2/testtmp
unit3/testtmp
tsugi
mod/*
Expand Down
3 changes: 3 additions & 0 deletions unit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ pwd
cd unit3
python3 unit.py
rm cover*jpg
cd ../unit2
python3 unit.py
rm cover*jpg

10 changes: 10 additions & 0 deletions unit2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
To run the unit tests, simply run

python3 unit.py
echo $?

The unit tests shoudld be run with a network connection and
on a UNix system (i.e. Linux or Mac OS)

These tests will leave 1 in status ($?) is there was
a problem and 0 if they all passed.
1,910 changes: 1,910 additions & 0 deletions unit2/mbox-short.txt

Large diffs are not rendered by default.

132,045 changes: 132,045 additions & 0 deletions unit2/mbox.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 7259e87

Please sign in to comment.