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

fix unit tests password of test_get_ovf_env_missing_* #32

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

dongsupark
Copy link
Collaborator

Fix failures in unit tests test_get_ovf_env_missing_password, test_get_ovf_env_missing_three, by checking for errors instead of actual values.
As parse_ovf_env is expected to return errors if the password is empty, it is not necessary to check other returned fields.

Fixes #30

Testing done

cargo test passed

Fix failures in unit tests test_get_ovf_env_missing_password,
test_get_ovf_env_missing_three, by checking for errors instead of
actual values. As parse_ovf_env is expected to return errors if
the password is empty, it is not necessary to check other returned
fields.
Copy link
Contributor

@anhvoms anhvoms left a comment

Choose a reason for hiding this comment

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

LGTM!

@anhvoms anhvoms merged commit 3068896 into main Jan 31, 2024
1 check passed
@anhvoms anhvoms deleted the dongsu/unit-tests-passwords branch January 31, 2024 14:23
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

Successfully merging this pull request may close these issues.

Fix unit test failures of test_get_ovf_env_missing_{password,three}
2 participants