Commit f0e90f2f authored by Daniel Stender's avatar Daniel Stender Committed by ChangZhuo Chen

fix-tests

fix tests for running py.test via Python interpreter
Forwarded: not-needed
parent 72f60cad
......@@ -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': 'py.test.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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment