diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scripts/test_pkgdev_commit.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/scripts/test_pkgdev_commit.py b/tests/scripts/test_pkgdev_commit.py index efc9491..7b2eb61 100644 --- a/tests/scripts/test_pkgdev_commit.py +++ b/tests/scripts/test_pkgdev_commit.py @@ -84,6 +84,8 @@ class TestPkgdevCommitParseArgs: ('--dry-run', '--dry-run'), ('-v', '-v'), ('--verbose', '-v'), + ('-e', '--edit'), + ('--edit', '--edit'), ): options, _ = tool.parse_args(['commit', opt]) assert expected in options.commit_args @@ -94,7 +96,7 @@ class TestPkgdevCommitParseArgs: repo.create_ebuild('cat/pkg-0') git_repo.add_all('cat/pkg-0', commit=False) with chdir(repo.location): - for opt in ('--author="A U Thor <author@example.com>"', '-e'): + for opt in ('--author="A U Thor <author@example.com>"', '-p'): options, _ = tool.parse_args(['commit', opt]) assert options.commit_args == [opt] |