summaryrefslogtreecommitdiff
path: root/tests/test_html.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-25 11:27:25 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-25 11:27:25 -0400
commit8e81a1b6feddb2a0642d7991ac35c7419f570bb6 (patch)
tree056eeeac3e24a8434d09f7ce5167b481ccc78b4e /tests/test_html.py
parent655e48284397765c36e7f5bfb8a018f79e542ecd (diff)
downloadpython-coveragepy-git-8e81a1b6feddb2a0642d7991ac35c7419f570bb6.tar.gz
Better spelling.
Diffstat (limited to 'tests/test_html.py')
-rw-r--r--tests/test_html.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/test_html.py b/tests/test_html.py
index fd22980e..f66dec64 100644
--- a/tests/test_html.py
+++ b/tests/test_html.py
@@ -356,16 +356,16 @@ class HtmlTest(HtmlTestHelpers, CoverageTest):
cov.html_report()
def test_extensionless_file_collides_with_extension(self):
- # It used to be that "afile" and "afile.py" would both be reported to
- # "afile.html". Now they are not.
+ # It used to be that "program" and "program.py" would both be reported
+ # to "program.html". Now they are not.
# https://bitbucket.org/ned/coveragepy/issue/69
- self.make_file("afile", "import afile\n")
- self.make_file("afile.py", "a = 1\n")
- self.run_command("coverage run afile")
+ self.make_file("program", "import program\n")
+ self.make_file("program.py", "a = 1\n")
+ self.run_command("coverage run program")
self.run_command("coverage html")
self.assert_exists("htmlcov/index.html")
- self.assert_exists("htmlcov/afile.html")
- self.assert_exists("htmlcov/afile_py.html")
+ self.assert_exists("htmlcov/program.html")
+ self.assert_exists("htmlcov/program_py.html")
def test_has_date_stamp_in_files(self):
self.create_initial_files()