[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] Spelling fixes



---
 distro_tracker/auto_news/tests.py           | 2 +-
 distro_tracker/core/tests/tests_models.py   | 2 +-
 distro_tracker/core/tests/tests_tasks.py    | 2 +-
 distro_tracker/core/utils/email_messages.py | 2 +-
 distro_tracker/core/utils/linkify.py        | 2 +-
 distro_tracker/mail/tests/tests_control.py  | 4 ++--
 distro_tracker/mail/tests/tests_dispatch.py | 2 +-
 distro_tracker/project/settings/defaults.py | 4 ++--
 distro_tracker/test/tests.py                | 2 +-
 distro_tracker/vendor/debian/tests.py       | 2 +-
 functional_tests/tests.py                   | 2 +-
 11 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/distro_tracker/auto_news/tests.py b/distro_tracker/auto_news/tests.py
index beb4905..4956ccc 100644
--- a/distro_tracker/auto_news/tests.py
+++ b/distro_tracker/auto_news/tests.py
@@ -296,7 +296,7 @@ class GenerateNewsFromRepositoryUpdatesTest(TestCase):
 
     def test_multiple_new_versions_different_repos(self):
         """
-        Tests the case when there are mutliple new versions of a source package
+        Tests the case when there are multiple new versions of a source package
         each in a different repository.
         """
         source_package_name = 'dummy-package'
diff --git a/distro_tracker/core/tests/tests_models.py b/distro_tracker/core/tests/tests_models.py
index 159a92f..1216528 100644
--- a/distro_tracker/core/tests/tests_models.py
+++ b/distro_tracker/core/tests/tests_models.py
@@ -481,7 +481,7 @@ class PackageManagerTest(TestCase):
 
     def test_pseudo_package_create(self):
         """
-        Tests that the pseudo packages manager creates pseudo pacakges.
+        Tests that the pseudo packages manager creates pseudo packages.
         """
         p = PackageName.pseudo_packages.create(name='pseudo-package')
 
diff --git a/distro_tracker/core/tests/tests_tasks.py b/distro_tracker/core/tests/tests_tasks.py
index e5a5dbf..7279a2a 100644
--- a/distro_tracker/core/tests/tests_tasks.py
+++ b/distro_tracker/core/tests/tests_tasks.py
@@ -78,7 +78,7 @@ class JobTests(TestCase):
     def assert_task_dependency_preserved(self, task, dependent_tasks):
         """
         Helper method which cheks whether the given dependent tasks were
-        executed after their dependency was satisifed.
+        executed after their dependency was satisfied.
         """
         task_index = self.execution_list.index(task)
         for task in dependent_tasks:
diff --git a/distro_tracker/core/utils/email_messages.py b/distro_tracker/core/utils/email_messages.py
index d7d370e..d2dcdc4 100644
--- a/distro_tracker/core/utils/email_messages.py
+++ b/distro_tracker/core/utils/email_messages.py
@@ -244,7 +244,7 @@ def decode_header(header, default_encoding='utf-8'):
 def unfold_header(header):
     """
     Unfolding is the process to remove the line wrapping added by mail agents.
-    An header is a single logical line and they are not allowed to be multi-line
+    A header is a single logical line and they are not allowed to be multi-line
     values.
 
     We need to unfold their values in particular when we want to reuse the
diff --git a/distro_tracker/core/utils/linkify.py b/distro_tracker/core/utils/linkify.py
index 483484f..7450e30 100644
--- a/distro_tracker/core/utils/linkify.py
+++ b/distro_tracker/core/utils/linkify.py
@@ -119,7 +119,7 @@ class LinkifyUbuntuBugLinks(LinkifyDebianBugLinks):
 class LinkifyCVELinks(Linkify):
     """
     Detect "CVE-2014-1234" words and transform them into links to the
-    CVE tracker at cve.mitre.org. The exact URL can be overriden with a
+    CVE tracker at cve.mitre.org. The exact URL can be overridden with a
     ``DISTRO_TRACKER_CVE_URL`` configuration setting to redirect
     the URL to a custom tracker.
     """
diff --git a/distro_tracker/mail/tests/tests_control.py b/distro_tracker/mail/tests/tests_control.py
index 8b3ce2e..5f94f61 100644
--- a/distro_tracker/mail/tests/tests_control.py
+++ b/distro_tracker/mail/tests/tests_control.py
@@ -1621,7 +1621,7 @@ class SubscribeToPackageTest(EmailControlTest):
 
     def test_subscribe_and_confirm_normal(self):
         """
-        Tests that the user is subscribed to the pacakge after running
+        Tests that the user is subscribed to the package after running
         subscribe and confirm.
         """
         package_name = self.package.name
@@ -1917,7 +1917,7 @@ class UnsubscribeFromPackageTest(EmailControlTest):
 
     def test_unsubscribe_and_confirm_normal(self):
         """
-        Tests that the user is unsubscribed from the pacakge after running
+        Tests that the user is unsubscribed from the package after running
         unsubscribe and confirm.
         """
         package_name = self.package.name
diff --git a/distro_tracker/mail/tests/tests_dispatch.py b/distro_tracker/mail/tests/tests_dispatch.py
index 2b7968b..56c31d4 100644
--- a/distro_tracker/mail/tests/tests_dispatch.py
+++ b/distro_tracker/mail/tests/tests_dispatch.py
@@ -246,7 +246,7 @@ class DispatchBaseTest(TestCase, DispatchTestHelperMixin):
         self.assertTrue(bounce_address.startswith('bounces+'))
         self.assertEqual(user_address, msg.to[0])
 
-    def test_correct_foward_content(self):
+    def test_correct_forward_content(self):
         """
         Tests that the content of the forwarded message is unchanged.
         """
diff --git a/distro_tracker/project/settings/defaults.py b/distro_tracker/project/settings/defaults.py
index ad7defd..2b89219 100644
--- a/distro_tracker/project/settings/defaults.py
+++ b/distro_tracker/project/settings/defaults.py
@@ -12,7 +12,7 @@
 
 Most settings are documented in this file and they are initialized to some
 reasonable default values when possible.  They will be extended (and
-possibly overriden) by settings from the other modules in this package
+possibly overridden) by settings from the other modules in this package
 depending on the setup selected by the administrator. You likely won't
 have to modify that file.
 
@@ -45,7 +45,7 @@ Here are the most important settings:
     Defaults to "/static/"
 
 Some settings have default values which are computed dynamically from
-other settings. Those settings can also be overriden. Here's the list
+other settings. Those settings can also be overridden. Here's the list
 of those settings.
 
 :py:data:`DISTRO_TRACKER_VENDOR_NAME`
diff --git a/distro_tracker/test/tests.py b/distro_tracker/test/tests.py
index 1e8dd2a..574b747 100644
--- a/distro_tracker/test/tests.py
+++ b/distro_tracker/test/tests.py
@@ -39,7 +39,7 @@ class TempDirsTests(object):
         return TempDirsMixin.DISTRO_TRACKER_PATH_SETTINGS.keys()
 
     def test_setup_has_same_settings(self):
-        """ Test that .setUp() already has the overriden settings. """
+        """ Test that .setUp() already has the overridden settings. """
         for name in self.get_settings_names():
             self.assertEqual(self._settings_during_setup[name],
                              getattr(settings, name))
diff --git a/distro_tracker/vendor/debian/tests.py b/distro_tracker/vendor/debian/tests.py
index b67271e..5bf9d5f 100644
--- a/distro_tracker/vendor/debian/tests.py
+++ b/distro_tracker/vendor/debian/tests.py
@@ -3840,7 +3840,7 @@ class UpdateNewQueuePackagesTests(TestCase):
     def test_multiple_distributions(self):
         """
         Tests that the NEW queue information is correctly extracted when the
-        package has mutliple distributions in the NEW queue.
+        package has multiple distributions in the NEW queue.
         """
         distributions = ['sid', 'stable-security']
         versions = ['1.0.0', '2.0.0']
diff --git a/functional_tests/tests.py b/functional_tests/tests.py
index 72eaab9..b165c93 100644
--- a/functional_tests/tests.py
+++ b/functional_tests/tests.py
@@ -351,7 +351,7 @@ class RepositoryAdminTest(SeleniumTestCase):
         # The user first logs in to the admin panel with their credentials.
         self.login_to_admin()
 
-        # They expect the log in to succeed, responsing with the
+        # They expect the log in to succeed, responding with the
         # administration page.
         self.assertIn('Site administration', self.browser.title)
 
-- 
2.14.1


Reply to: