Hi,
> 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 :)
you can also tell `ansible-galaxy collection install`
So, git cloning next to my work-in-progress collection allowed me to do
import it,
Thanks again, it's a bit fuzy to find correct examples of "Getting started
with collection testing" :)
Regards,
Cédric S.
On Sunday, May 15, 2022 at 9:34:45 PM UTC+2 Idont Haveaname wrote:
> Hello,
>
> I didn'
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
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
> ansi
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_collectio
Hi,
> > I'm not very happy about this either. My personal recommendation
> > (slightly biased ;) ) for collections would be to import them from
> > https://galaxy.ansible.com/community/internal_test_utils /
> > https://github.com/ansible-collections/community.internal_test_tools.
> > That of cours
On 2/11/21 8:15 AM, 'Felix Fontein' via Ansible Development wrote:
Hi,
I'm starting to migrate my module project into a collection and I'm
running into issues with missing test utility functions like:
tests/unit/plugins/lookup/test_pfsense.py:10: in
from units.compat.mock import patch
E
Hi,
> I'm starting to migrate my module project into a collection and I'm
> running into issues with missing test utility functions like:
>
> tests/unit/plugins/lookup/test_pfsense.py:10: in
> from units.compat.mock import patch
> E ImportError: No module named units.compat.mock
>
> tes
I'm starting to migrate my module project into a collection and I'm
running into issues with missing test utility functions like:
tests/unit/plugins/lookup/test_pfsense.py:10: in
from units.compat.mock import patch
E ImportError: No module named units.compat.mock
tests/unit/plugins/modul