summaryrefslogtreecommitdiff
path: root/test/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-05-11 22:04:43 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-05-11 22:04:43 -0400
commiteb862b1fe13968a0e2b1e75682c59af540c8b9bd (patch)
treef35eb927acd5b35f9475a7c7ee56fb98f8eba49e /test/test_api.py
parent5288a2e51bc938dfcce206bb8ecffa9ac0c96871 (diff)
downloadpython-coveragepy-git-eb862b1fe13968a0e2b1e75682c59af540c8b9bd.tar.gz
Oops: two tests with the same name means one of them doesn't get run! Thanks, pylint.
Diffstat (limited to 'test/test_api.py')
-rw-r--r--test/test_api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_api.py b/test/test_api.py
index f4c48f4d..ce349329 100644
--- a/test/test_api.py
+++ b/test/test_api.py
@@ -218,7 +218,7 @@ class ApiTest(CoverageTest):
""")
self.assert_equal_sets(os.listdir("."), ["datatest2.py"])
- cov = coverage.coverage(datafile="cov.data")
+ cov = coverage.coverage(data_file="cov.data")
cov.start()
self.importModule("datatest2")
cov.stop()
@@ -226,7 +226,7 @@ class ApiTest(CoverageTest):
self.assert_equal_sets(os.listdir("."),
["datatest2.py", "datatest2.pyc", "cov.data"])
- def testDatafileSpecified(self):
+ def testDatafileAndSuffixSpecified(self):
# You can specify the data file name and suffix.
self.makeFile("datatest3.py", """\
fooey = 17