Debian Codegraph @

test/integration/targets/collections_relative_imports/windows.yml

raw
1 - hosts: windows
2 gather_facts: no
3 tasks:
4 - name: test out relative imports on Windows modules
5 my_ns.my_col.win_relative:
6 register: win_relative
7
8 - name: assert relative imports on Windows modules
9 assert:
10 that:
11 - win_relative.data == 'CSRel4.Invoke() -> Invoke-FromPSRel3 -> Invoke-FromPSRel2 -> Invoke-FromPSRel1'
12
13 - name: test out relative imports on Windows modules with optional import
14 my_ns.my_col.win_relative_optional:
15 register: win_relative_optional
16
17 - name: assert relative imports on Windows modules with optional import
18 assert:
19 that:
20 - win_relative_optional.data == 'Invoke-FromPSRel4'