summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-05-07 21:19:40 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-05-07 21:19:40 -0400
commit6bac20d0a7a8815a7d1cf789642ba2342ae212ac (patch)
treef8955edd8a1c5b002fb9fa224b78383e4afd6366 /test
parent2ff24977fbe550ad1494fd25f16ccf95ff36fff8 (diff)
downloadpython-coveragepy-git-6bac20d0a7a8815a7d1cf789642ba2342ae212ac.tar.gz
Treat files not ending in .py properly.
Diffstat (limited to 'test')
-rw-r--r--test/farm/run/run_xxx.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/farm/run/run_xxx.py b/test/farm/run/run_xxx.py
index f3287a7e..3c39f0f7 100644
--- a/test/farm/run/run_xxx.py
+++ b/test/farm/run/run_xxx.py
@@ -3,6 +3,10 @@ run("""
coverage -e -x xxx
coverage -r
""", rundir="out", outfile="stdout.txt")
-contains("out/stdout.txt", "xxx: 3 4 0 7")
+contains("out/stdout.txt",
+ "xxx: 3 4 0 7",
+ "\nxxx ", # The reporting line for xxx
+ " 7 6 85%" # The reporting data for xxx
+ )
doesnt_contain("out/stdout.txt", "No such file or directory")
clean("out")