Skip to content

Commit

Permalink
argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
why-not-try-calmer committed Dec 21, 2023
1 parent c2b5b75 commit dc7b521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)


Expand Down

0 comments on commit dc7b521

Please sign in to comment.