[Python-modules-commits] [sphinx-argparse] 09/12: fix-tests
ChangZhuo Chen
czchen at moszumanska.debian.org
Sun Jul 2 13:21:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
czchen pushed a commit to branch master
in repository sphinx-argparse.
commit 680b7314c75db8aec6fc9b79da6c0b3c8f968459
Author: Daniel Stender <debian at danielstender.com>
Date: Wed Jan 20 21:24:54 2016 +0100
fix-tests
fix tests for running py.test via Python interpreter
Forwarded: not-needed
---
test/test_parser.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/test_parser.py b/test/test_parser.py
index 075888b..47eb05b 100755
--- a/test/test_parser.py
+++ b/test/test_parser.py
@@ -157,8 +157,8 @@ def test_parse_nested():
{
'name': 'install',
'help': 'install help',
- 'usage': 'usage: py.test install [-h] [--upgrade] ref',
- 'bare_usage': 'py.test install [-h] [--upgrade] ref',
+ 'usage': 'usage: pytest.py install [-h] [--upgrade] ref',
+ 'bare_usage': 'pytest.py install [-h] [--upgrade] ref',
'action_groups': [
{
'title': 'Positional Arguments',
@@ -223,8 +223,8 @@ def test_parse_nested_traversal():
{
'name': 'level3',
'help': '',
- 'usage': 'usage: py.test level1 level2 level3 [-h] foo bar',
- 'bare_usage': 'py.test level1 level2 level3 [-h] foo bar',
+ 'usage': 'usage: pytest.py level1 level2 level3 [-h] foo bar',
+ 'bare_usage': 'pytest.py level1 level2 level3 [-h] foo bar',
'action_groups': [
{
'title': 'Positional Arguments',
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sphinx-argparse.git
More information about the Python-modules-commits
mailing list