summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-08-07 07:17:56 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-08-07 07:17:56 -0400
commit305c5fdc378879adaac518ddeac7c22a0c92f49d (patch)
tree6807870a151575ea579cc3d9d288c48978845145 /tests/test_api.py
parent2f966f127499acc90fafc4dd361aef280e55862c (diff)
downloadpython-coveragepy-git-305c5fdc378879adaac518ddeac7c22a0c92f49d.tar.gz
Check data file existence while testing combining
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index d0b8efe9..a860c7da 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -379,8 +379,9 @@ class ApiTest(CoverageTest):
# We got the results from code1 and code2 properly.
self.check_code1_code2(cov)
- # The bad file still exists.
+ # The bad file still exists, but it's the only parallel data file left.
self.assert_exists(".coverage.foo")
+ self.assert_file_count(".coverage.*", 1)
def test_combining_twice(self):
self.make_good_data_files()