Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
- TEST_CMD="python pyunit.py" SCRIPT_OPT="--framework=pyunit" FRAMEWORK=PyUnit

script:
- $TEST_CMD | python annotate.py --tool python --tee --name "$FRAMEWORK log"
- $TEST_CMD 2>&1 | python annotate.py --tool python --tee --name "$FRAMEWORK log"

after_script:
- curl -s https://raw.githubusercontent.com/report-ci/scripts/master/upload.py | python - $SCRIPT_OPT
5 changes: 3 additions & 2 deletions pytest_example.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@

# content of test_sample.py
def inc(x):
def inc(x,y):
return x + 1


def foo():
assert True
def foo(x):
assert x

def test_foo(): foo()

Expand Down
1 change: 0 additions & 1 deletion pyunit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import unittest
import xmlrunner

class SimpleTestCase(unittest.TestCase):

Expand Down