File: issue_113__duplicate_module_imports.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 (27 lines) | stat: -rw-r--r-- 681 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# issue #113: ensure CookieJar duplicate import issue does not reappear simply
# by exercisizng the uri package.

- name: regression/issue_113__duplicate_module_imports.yml
  hosts: test-targets
  tasks:

  - name: Get auth token
    uri:
      url: "http://127.0.0.1:14321/post"
      method: POST
      body: "client_id=admin-cli&username=admin&\
             password=keycloak_admin_password&grant_type=password"
      return_content: true
      validate_certs: false
    register: out
    ignore_errors: true

  - assert:
      that:
        - out.status == -1
        - out.url == 'http://127.0.0.1:14321/post'
      fail_msg: |
        out={{ out }}
  tags:
    - issue_113