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:
parent
e725eea4be
commit
aa475d337a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue