1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
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.
2019-02-04 10:29:05 -05:00
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
env Add env command to ansible-test and run in CI. (#50176) 2018-12-20 22:08:57 -08:00
integration uri: check unexpected failure doesn't occur when file cannot be saved (#45824) 2019-02-04 10:29:05 -05:00
legacy Included support to AIX group of subsystems on service module (#33043) 2019-01-08 17:41:58 -05:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner ansible-test: make the httptester for Windows more resiliant around the shell chosen (#51416) 2019-01-30 07:50:23 +10:00
sanity win_power_plan: fix for Windows 10 and Server 2008 compatibility (#51471) 2019-02-01 06:32:12 +10:00
units added response_timestamps to ios_xr_command module (#50095) 2019-02-04 18:49:06 +05:30
utils Make Shippable timing script more resilient. 2019-01-17 00:03:38 -08:00