summaryrefslogtreecommitdiff
path: root/gitlab/tests/test_cli.py
diff options
context:
space:
mode:
authorMax Wittig <max.wittig95@gmail.com>2019-07-21 19:29:56 +0200
committerGitHub <noreply@github.com>2019-07-21 19:29:56 +0200
commit0b0a60fd72fc7b1073c4b5f32022b3a063ec9c96 (patch)
treeaa3c8ced4aa8333497ad9a6a7a53435a43b2faef /gitlab/tests/test_cli.py
parent6c673c6b052cd5b18ba5b1f83137485431666730 (diff)
parent8d1552a0ad137ca5e14fabfc75f7ca034c2a78ca (diff)
downloadgitlab-0b0a60fd72fc7b1073c4b5f32022b3a063ec9c96.tar.gz
Merge pull request #835 from python-gitlab/bugfix-717
fix(cli): don't fail when the short print attr value is None
Diffstat (limited to 'gitlab/tests/test_cli.py')
-rw-r--r--gitlab/tests/test_cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/tests/test_cli.py b/gitlab/tests/test_cli.py
index bc49d8b..1485499 100644
--- a/gitlab/tests/test_cli.py
+++ b/gitlab/tests/test_cli.py
@@ -116,7 +116,7 @@ class TestV4CLI(unittest.TestCase):
parser = cli._get_parser(gitlab.v4.cli)
args = parser.parse_args(["project", "list"])
self.assertEqual(args.what, "project")
- self.assertEqual(args.action, "list")
+ self.assertEqual(args.whaction, "list")
def test_parser(self):
parser = cli._get_parser(gitlab.v4.cli)