From dc7b521fb5efbbc633329d87ec4111bfcd116493 Mon Sep 17 00:00:00 2001 From: why-not-try-calmer Date: Thu, 21 Dec 2023 12:40:05 +0100 Subject: [PATCH] argument name --- test/test_release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_release.py b/test/test_release.py index d9a2cb77..acdb0705 100644 --- a/test/test_release.py +++ b/test/test_release.py @@ -239,7 +239,7 @@ def test_release_version_validation_on(self): sub_parser = subparsers.add_parser("package") sub_parser.add_argument("release_version") sub_parser.add_argument("--no-validation", action="store_true") - args = parser.parse_args(["v1"]) + args = parser.parse_args(["package", "v1"]) with self.assertRaises(ValueError): Parameters.validate_args(args) @@ -251,7 +251,7 @@ def test_release_version_validation_off(self): sub_parser = subparsers.add_parser("package") sub_parser.add_argument("release_version") sub_parser.add_argument("--no-validation", action="store_true") - args = parser.parse_args([".", "--no-validation"]) + args = parser.parse_args(["package", "v1", "--no-validation"]) Parameters.validate_args(args)