Skip to content

Commit

Permalink
Adjust the unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
csev committed Aug 14, 2016
1 parent 5eb0622 commit 39cdb0b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions unit3/testinp/trynum.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
42
2 changes: 2 additions & 0 deletions unit3/testout/tryexcept.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
First -1
Second 123
1 change: 1 addition & 0 deletions unit3/testout/trynum.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enter a number:Nice work
2 changes: 2 additions & 0 deletions unit3/unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
]

toskip = [
'notry.py', # will always exception
'unit.py', # avoid infinite loops
'wikigrade.py', # talks to ctools - too complex
'argfile.py', # argument passing - no need to test
Expand Down Expand Up @@ -92,3 +93,4 @@
diff = True
if diff or fail >= 1 :
sys.exit(1)

0 comments on commit 39cdb0b

Please sign in to comment.