diff --git a/tests/modules/ambigious/__init__.py b/tests/modules/ambiguous/__init__.py similarity index 100% rename from tests/modules/ambigious/__init__.py rename to tests/modules/ambiguous/__init__.py diff --git a/tests/modules/ambigious/pkg1/__init__.py b/tests/modules/ambiguous/pkg1/__init__.py similarity index 100% rename from tests/modules/ambigious/pkg1/__init__.py rename to tests/modules/ambiguous/pkg1/__init__.py diff --git a/tests/modules/ambigious/pkg1/ambigious.py b/tests/modules/ambiguous/pkg1/ambiguous.py similarity index 100% rename from tests/modules/ambigious/pkg1/ambigious.py rename to tests/modules/ambiguous/pkg1/ambiguous.py diff --git a/tests/modules/usepkgs.py b/tests/modules/usepkgs.py index 2e4d21a71..7b42976d5 100644 --- a/tests/modules/usepkgs.py +++ b/tests/modules/usepkgs.py @@ -5,4 +5,4 @@ import pkg2.p2a, pkg2.p2b import othermods.othera, othermods.otherb import othermods.sub.osa, othermods.sub.osb -import ambigious, ambigious.pkg1.ambigious +import ambiguous, ambiguous.pkg1.ambiguous diff --git a/tests/test_api.py b/tests/test_api.py index a28d0133c..e2a2a5556 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -935,20 +935,20 @@ def test_source_package_as_package_part_omitted(self): self.filenames_not_in(lines, "p1b") self.assertEqual(lines['p1c'], 0) - def test_ambigious_source_package_as_dir(self): - # pkg1 is a directory and a pkg, since we cd into tests/modules/ambigious - self.chdir(self.nice_file(TESTS_DIR, 'modules', "ambigious")) - # pkg1 defaults to directory because tests/modules/ambigious/pkg1 exists + def test_ambiguous_source_package_as_dir(self): + # pkg1 is a directory and a pkg, since we cd into tests/modules/ambiguous + self.chdir(self.nice_file(TESTS_DIR, 'modules', "ambiguous")) + # pkg1 defaults to directory because tests/modules/ambiguous/pkg1 exists lines = self.coverage_usepkgs(source=["pkg1"]) - self.filenames_in(lines, "ambigious") + self.filenames_in(lines, "ambiguous") self.filenames_not_in(lines, "p1a p1b p1c") - def test_ambigious_source_package_as_package(self): - # pkg1 is a directory and a pkg, since we cd into tests/modules/ambigious - self.chdir(self.nice_file(TESTS_DIR, 'modules', "ambigious")) + def test_ambiguous_source_package_as_package(self): + # pkg1 is a directory and a pkg, since we cd into tests/modules/ambiguous + self.chdir(self.nice_file(TESTS_DIR, 'modules', "ambiguous")) lines = self.coverage_usepkgs(source_pkgs=["pkg1"]) self.filenames_in(lines, "p1a p1b") - self.filenames_not_in(lines, "p2a p2b othera otherb osa osb ambigious") + self.filenames_not_in(lines, "p2a p2b othera otherb osa osb ambiguous") # Because source= was specified, we do search for unexecuted files. self.assertEqual(lines['p1c'], 0)