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>
2020-05-14 11:46:34 -04:00
..
basic Fix filedescriptor out of range in select() when running commands (#65058) 2020-05-14 11:46:34 -04:00
common Expose to_<str> as a public function (#68965) 2020-04-17 07:54:00 +10:00
facts Remove with statement for pytest-mock unit tests 2020-01-29 13:29:40 -08:00
json_utils Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
parsing
urls get_url pass incorrect If-Modified-Since header(#67417) (#67419) 2020-04-10 12:17:55 -05:00
__init__.py
conftest.py
test_distribution_version.py Distribution: Add PopOS as Debian OS_FAMILY (#69294) 2020-05-05 11:43:28 -05:00
test_distro.py Update distro unit test (#55003) 2019-04-08 16:26:31 -04:00