File: custom_python_want_json_module.yml

package info (click to toggle)
python-mitogen 0.3.26-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,456 kB
  • sloc: python: 22,134; sh: 183; makefile: 74; perl: 19; ansic: 18
file content (18 lines) | stat: -rw-r--r-- 509 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- name: integration/runner/custom_python_want_json_module.yml
  hosts: test-targets
  tasks:
    - custom_python_want_json_module:
        foo: true
      with_sequence: start=1 end={{end|default(1)}}
      register: out

    - assert:
        that: |
          (not out.changed) and
          (not out.results[0].changed) and
          out.results[0].input[0].foo and
          out.results[0].msg == 'Here is my input'
        fail_msg: |
          out={{ out }}
  tags:
    - custom_python_want_json_module