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/units/module_utils
Bob Weinand f200487414
Fix filedescriptor out of range in select() when running commands (#65058)
* Fix filedescriptor out of range in select() when running commands

* Simplify the run_command() code

Now that we're using selectors in run_command(), we can simplify some of
the code.

* Use fileobj.read() instead of os.read()
* No longer use get_buffer_size() as we can just slurp all of the data
  instead.

Also use a simpler conditional check of whether the selector map is
empty

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
5 years ago
..
basic Fix filedescriptor out of range in select() when running commands (#65058) 5 years ago
common Expose to_<str> as a public function (#68965) 5 years ago
facts Remove `with` statement for pytest-mock unit tests 5 years ago
json_utils Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
parsing Consolidate boolean/mk_boolean conversion functions into a single location 7 years ago
urls get_url pass incorrect If-Modified-Since header(#67417) (#67419) 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
conftest.py Python 3.8 collections compatibility fixes. 6 years ago
test_distribution_version.py Distribution: Add PopOS as Debian OS_FAMILY (#69294) 5 years ago
test_distro.py Update distro unit test (#55003) 6 years ago