Closed Fale closed 7 years ago
cloud/rackspace/*
2.2
Use conditional main as for the 16th point of the module checklist at http://docs.ansible.com/ansible/dev_guide/developing_modules.html#module-checklist that reads:
Call your main() from a conditional so that it would be possible to import them into unittests in the future example:
if __name__ == '__main__': main()
ISSUE TYPE
COMPONENT NAME
cloud/rackspace/*
ANSIBLE VERSION
SUMMARY
Use conditional main as for the 16th point of the module checklist at http://docs.ansible.com/ansible/dev_guide/developing_modules.html#module-checklist that reads:
Call your main() from a conditional so that it would be possible to import them into unittests in the future example: