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 win_dsc integration tests #670

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

ronger4
Copy link
Contributor

@ronger4 ronger4 commented Oct 22, 2024

SUMMARY
  • Fixed the following failure
TASK [win_dsc : assert test DSC with all types] ********************************
fatal: [windows_server]: FAILED! => {
    "assertion": "dsc_types_actual.DateTimeParam.Value == '2019-02-22T17:57:31.2311890+00:00'",
    "changed": false,
    "evaluated_to": false,
    "msg": "Assertion failed"
}

Ansible couldn't compare properly DATE/TIME formats with different timezones as they are represented as strings, had to add a fix which converts those strings to Datetime.

  • Adapted code to fix ansible-lint warnings and errors.
ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION

@jborean93 jborean93 merged commit 62a75e7 into ansible-collections:main Nov 19, 2024
30 checks passed
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.

2 participants