Hello, I didn't, I've used ansible-galaxy install which did install the collection in .ansible/ansible_collections/...
Am I supposed to do a git clone inside the same path of the collection I'm developing ? This wasn't clear for me :) Thanks ! Cédric S. On Sunday, May 15, 2022 at 9:31:12 PM UTC+2 Felix Fontein wrote: > Hello, > > > I had a look to this interesting internal test collection, yet I > > cannot make it work, my ansible-test units command keeps complaining > > that the following path cannot be found: > > > > from > > ansible_collections.community.internal_test_tools.tests.unit.compat > > import unittest from > > ansible_collections.community.internal_test_tools.tests.unit.compat.mock > > import Mock, patch > > > > What is the procedure to follow to set it up ? > > did you install the collection in the same path structure that the > collection you are running ansible-test on is in? > > I.e. do you have > > /path/to/ansible_collections/community/internal_test_tools/ > /path/to/ansible_collections/yournamespace/yourcollection/ > > in the same directory structure? > > Best, > Felix > > > -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/68383787-9866-4458-b04d-799b14a3beb5n%40googlegroups.com.