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
This commit is contained in:
Rhett Sutphin 2013-11-01 12:29:31 -05:00
parent e725eea4be
commit aa475d337a

View file

@ -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::