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/units/module_utils
Alexander Stock 238cccf166 Fix "Text file busy" exception in atomic_move (#9526) (#17204)
tempfile.NamedTemporaryFile keeps a file handle causing os.rename() to fail with windows based vboxfs: [Errno 26] Text file busy.
Changed NamedTemporaryFile to mkstemp() and added a finally block to unlink the temp file in each and every case.
2016-08-26 07:41:17 -07:00
..
basic Enable most unittests on python3 (just some vault unittests and a logging one left) (#17240) 2016-08-25 07:30:03 -07:00
__init__.py Adding module_utils tests from v1 to v2 2015-05-17 01:29:40 -05:00
test_basic.py Fix "Text file busy" exception in atomic_move (#9526) (#17204) 2016-08-26 07:41:17 -07:00
test_database.py Migrate basestring to a python3 compatible type (#17199) 2016-08-23 13:13:44 -07:00
test_distribution_version.py Enable most unittests on python3 (just some vault unittests and a logging one left) (#17240) 2016-08-25 07:30:03 -07:00
test_facts.py Fix facts.py for python3 (#17131) 2016-08-18 09:36:03 -04:00