#391 Raise an error if the module build command receives optional arguments that conflict
Merged by lsedlar. Opened by mprahl.
Unknown source master

Download 391.patch

The rpkg module-build command has positional arguments with defaults. We don't want those being overwritten by --optional key=value arguments. It would just cause confusion.

@lsedlar could you please review this as well?

Looks good to me.

I would suggest to use six.assertRaisesRegex to ensure rpkgError is raised.

:thumbsup:

rebased onto 6e68939811f4ef6967f3459f2d909bb1d234e21c

@cqi and @lsedlar thank you for the reviews. I made the change as suggested. Could you please merge this?

Pull-Request has been merged by lsedlar

Metadata