You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/uri
Pilou 7a3582d651 uri: check unexpected failure doesn't occur when file cannot be saved (#45824)
* uri: fix TypeError when file can't be saved

Fix the following exception (and others):

    Traceback (most recent call last):
      File "/home/lilou/debug_dir/__main__.py", line 604, in <module>
        main()
      File "/home/lilou/debug_dir/__main__.py", line 554, in main
        write_file(module, url, dest, content, resp)
      File "/home/lilou/debug_dir/__main__.py", line 320, in write_file
        module.fail_json(msg="Destination dir '%s' not writable" % os.path.dirname(dest), **resp)
    TypeError: fail_json() got multiple values for keyword argument 'msg'

I would rather remove **resp from returned values but this module is
flagged as stableinterface.

* Static imports are more straight forward and preferred unless dynamic inclusion is required.
6 years ago
..
files Update requirements for urllib3 for python 2.6. 6 years ago
meta Fix integration tests to support remote hosts. 6 years ago
tasks uri: check unexpected failure doesn't occur when file cannot be saved (#45824) 6 years ago
templates Fix some TODOs to use generic_urlparse which allows proper netrc selection. Fixes #34360 (#34372) 7 years ago
vars Extra deps needed for building cryptography 8 years ago
aliases Fix integration tests to support remote hosts. 6 years ago