Created
November 24, 2015 05:00
-
-
Save bryanwb/0e8a77c106a25bfca70c to your computer and use it in GitHub Desktop.
how to write python unit tests for an ansible module?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def method1(): | |
pass | |
def method2() | |
pass | |
# import module snippets | |
from ansible.module_utils.basic import * | |
# main never gets called :( | |
if __name__ == '__main': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
please, explain this stuff