Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAMP does not detect mismatches between values and realization #39

Open
fchauvel opened this issue Apr 11, 2019 · 0 comments
Open

CAMP does not detect mismatches between values and realization #39

fchauvel opened this issue Apr 11, 2019 · 0 comments

Comments

@fchauvel
Copy link
Member

Characteristics

  • Issue Type: [bug]
  • Reproducibility: always
  • Severity: minor
  • Tool/Service/Component: camp v0.3.3
  • Execution Environment: Debian 9
  • Reporter: @fchauvel

Description

CAMP does not detect when there is a mismatch between the number of value provided for a given variable, and the number of value provided in the realization. For instance, in the following snippet, I declare two values but I give 3 substitutions.

     flask:
        values: [ v0.12.4, v1.0.1 ]
        realization:
         - targets: [ greetings/setup.py ]
           pattern: "flask == 1.0.2"
           replacements:
             - flask == 0.12.4
             - flask == 1.0.1
             - flask == 1.0.2

Steps to reproduce

Simply run the camp generatecommand. No warning or error is reported.

Other files and URLs

Relationships

Relate to Issue #21 about model model validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant