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

Add unit tests for autoyast profile validation methods #12316

Merged
merged 3 commits into from
Apr 15, 2021

Conversation

rwx788
Copy link
Member

@rwx788 rwx788 commented Apr 15, 2021

Here we slightly improve documentation, so it's easier to validate cloned profiles, as well as add unit tests to the methods which are used to generate xpath expressions which are then executed to verify that given sections in the profile exist and match specified values.

See poo#89539.

rwx788 added 3 commits April 15, 2021 09:17
In order to make it easier to understand how to write validation data,
we added example of the resulting yaml structure for the given xml with
all currently supported features.
Adding autoyast profile to test profile validation, as well as yaml file
which contains expected values being set in the profile.
Copy link
Member

@asdil12 asdil12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@asdil12 asdil12 merged commit 8ffb212 into os-autoinst:master Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants