Document env dependency for test-module.

You need to source hacking/env-setup before running hacking/test-module;
otherwise you get an error like this:

    ImportError: No module named ansible.utils
pull/4774/head
Rhett Sutphin 11 years ago
parent e725eea4be
commit aa475d337a

@ -61,6 +61,7 @@ Testing Modules
There's a useful test script in the source checkout for ansible::
git clone git@github.com:ansible/ansible.git
source ansible/hacking/env-setup
chmod +x ansible/hacking/test-module
Let's run the script you just wrote with that::

Loading…
Cancel
Save