diff options
author | Otto Kekäläinen <otto@debian.org> | 2024-01-10 23:08:40 +0800 |
---|---|---|
committer | Otto Kekäläinen <otto@debian.org> | 2024-01-12 14:21:55 -0800 |
commit | a0e45c6caeb84ccc3a24531c35f6bac3fd7c77b2 (patch) | |
tree | a7f2269d83fe1ce58a409aa5ac58c36b4b9ce9fe /tests | |
parent | ae2d10cd57f78e559bd1334e389d9ee347523c39 (diff) |
gbp: Fix misc spelling in user visible output and comments
Diffstat (limited to 'tests')
-rw-r--r-- | tests/30_test_deb_changelog.py | 2 | ||||
-rw-r--r-- | tests/component/deb/test_import_ref.py | 2 | ||||
-rw-r--r-- | tests/doctests/test_GitRepository.py | 2 | ||||
-rw-r--r-- | tests/testutils/__init__.py | 2 | ||||
-rw-r--r-- | tests/testutils/debiangittestrepo.py | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/30_test_deb_changelog.py b/tests/30_test_deb_changelog.py index 143f5056..223936a9 100644 --- a/tests/30_test_deb_changelog.py +++ b/tests/30_test_deb_changelog.py @@ -18,7 +18,7 @@ from gbp.command_wrappers import CommandExecFailed class TestQuoting(unittest.TestCase): def test_comma(self): - """Test we properly parse maitainers with comma #737623""" + """Test we properly parse maintainers with comma #737623""" changes = """git-buildpackage (0.9.2) unstable; urgency=low * List of changes diff --git a/tests/component/deb/test_import_ref.py b/tests/component/deb/test_import_ref.py index 260a8be1..b76d58ec 100644 --- a/tests/component/deb/test_import_ref.py +++ b/tests/component/deb/test_import_ref.py @@ -73,7 +73,7 @@ class TestImportRef(ComponentTestBase): eq_(len(repo.get_commits()), 3) @RepoFixtures.quilt30(DEFAULT_DSC, opts=['--pristine-tar']) - def test_from_committish(self, repo): + def test_from_commitish(self, repo): """ Test that importing a upstream git from another commit works """ diff --git a/tests/doctests/test_GitRepository.py b/tests/doctests/test_GitRepository.py index 3052b860..184882b8 100644 --- a/tests/doctests/test_GitRepository.py +++ b/tests/doctests/test_GitRepository.py @@ -288,7 +288,7 @@ def test_get_upstream_branch(): def test_tag(): """ - Create a tag named I{tag} and check its existance + Create a tag named I{tag} and check its existence Methods tested: - L{gbp.git.GitRepository.create_tag} diff --git a/tests/testutils/__init__.py b/tests/testutils/__init__.py index 6ce1bc59..2072e0df 100644 --- a/tests/testutils/__init__.py +++ b/tests/testutils/__init__.py @@ -27,7 +27,7 @@ __all__ = ['GbpLogTester', 'DebianGitTestRepo', 'OsReleaseFile', class OsReleaseFile(object): - """Repesents a simple file with key-value pairs""" + """Represents a simple file with key-value pairs""" def __init__(self, filename="/etc/os-release"): self._values = {} diff --git a/tests/testutils/debiangittestrepo.py b/tests/testutils/debiangittestrepo.py index 20184525..81734c59 100644 --- a/tests/testutils/debiangittestrepo.py +++ b/tests/testutils/debiangittestrepo.py @@ -30,7 +30,7 @@ class DebianGitTestRepo(unittest.TestCase): Add a single file with name I{name} and content I{content}. If I{content} is C{none} the content of the file is undefined. - @param name: the file's path relativ to the git repo + @param name: the file's path relative to the git repo @type name: C{str} @param content: the file's content @type content: C{str} |