diff options
Diffstat (limited to 'gitlab/tests/test_cli.py')
| -rw-r--r-- | gitlab/tests/test_cli.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gitlab/tests/test_cli.py b/gitlab/tests/test_cli.py index 2246369..aed9fc4 100644 --- a/gitlab/tests/test_cli.py +++ b/gitlab/tests/test_cli.py @@ -26,7 +26,6 @@ from contextlib import redirect_stderr # noqa: H302 import pytest from gitlab import cli -import gitlab.v4.cli def test_what_to_cls(): @@ -94,14 +93,14 @@ def test_base_parser(): def test_v4_parse_args(): - parser = cli._get_parser(gitlab.v4.cli) + parser = cli._get_parser() args = parser.parse_args(["project", "list"]) assert args.what == "project" assert args.whaction == "list" def test_v4_parser(): - parser = cli._get_parser(gitlab.v4.cli) + parser = cli._get_parser() subparsers = next( action for action in parser._actions |
