diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/11_test_dch_main.py | 4 | ||||
-rw-r--r-- | tests/19_test_gbp_scripts_config.py | 2 | ||||
-rw-r--r-- | tests/component/rpm/test_buildpackage_rpm.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/11_test_dch_main.py b/tests/11_test_dch_main.py index 7e2a197..5a53760 100644 --- a/tests/11_test_dch_main.py +++ b/tests/11_test_dch_main.py @@ -163,7 +163,7 @@ class TestScriptDch(DebianGitTestRepo): self.assertIsNotNone(re.search(snap_mark + header2.group(1), lines[2])) self.assertIn(""" * added debian/control\n""", lines) self.assertIn(""" * added debian/compat\n""", lines) - # First snapshot entry must have disapear + # First snapshot entry must have disappeared self.assertNotIn(header1.group(0) + "\n", lines) # But its changelog must be included in the new one self.assertIn(""" * TEST-COMMITTED-SNAPSHOT\n""", lines) @@ -272,7 +272,7 @@ class TestScriptDch(DebianGitTestRepo): self.assertIsNotNone(re.search(snap_mark + header2.group(1), lines[2])) self.assertIn(""" * added debian/control\n""", lines) self.assertIn(""" * added debian/compat\n""", lines) - # First snapshot entry must have disapear + # First snapshot entry must have disappeared self.assertNotIn(header1.group(0) + "\n", lines) # But its changelog must be included in the new one self.assertIn(""" * TEST-COMMITTED-SNAPSHOT\n""", lines) diff --git a/tests/19_test_gbp_scripts_config.py b/tests/19_test_gbp_scripts_config.py index ae84561..9d0afd5 100644 --- a/tests/19_test_gbp_scripts_config.py +++ b/tests/19_test_gbp_scripts_config.py @@ -70,7 +70,7 @@ class TestGbpConfigCommand(unittest.TestCase): self.assertEqual(ret, 0) def test_print_cmd_single_value_override(self): - """Can we fetch a single configuration value that is overriden by config""" + """Can we fetch a single configuration value that is overridden by config""" printstub = self.SingleValuePrintStub() query = 'config.color-scheme' ret = gbp.scripts.config.print_cmd_values(query, printstub) diff --git a/tests/component/rpm/test_buildpackage_rpm.py b/tests/component/rpm/test_buildpackage_rpm.py index 4f0c290..29b6df3 100644 --- a/tests/component/rpm/test_buildpackage_rpm.py +++ b/tests/component/rpm/test_buildpackage_rpm.py @@ -329,7 +329,7 @@ class TestGbpRpm(RpmRepoTestBase): eq_(len(repo.get_commits(until='pristine-tar')), 2) shutil.rmtree('../rpmbuild') - # Second time no pristine-tar should not be commited + # Second time no pristine-tar should not be committed eq_(mock_gbp(['--git-pristine-tar-commit']), 0) eq_(len(repo.get_commits(until='pristine-tar')), 2) |