ansible/test/units/module_utils/facts
Lukas Pirl 34db57a47f
introduce fact "ansible_processor_nproc": number of usable vcpus (#66569)
This fact reflects the number of usable vcpus (which might be different
from ansible_processor_vcpus, e.g., in containers with limits). See
also #51504.

* Add fixture data and update unit tests

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-05-15 09:38:56 -04:00
..
fixtures extends linux cpuinfo test unit with sparc64 data (#55394) 2019-04-17 12:00:17 -04:00
hardware introduce fact "ansible_processor_nproc": number of usable vcpus (#66569) 2020-05-15 09:38:56 -04:00
network unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
other Clean up ansible-test references in tests. (#60108) 2019-08-05 14:55:30 -07:00
system Ensure Clear Linux parsing is actually parsing a Clear Linux host and all others fall back to NA (#53298) 2019-03-08 10:40:49 -05:00
__init__.py Facts Timeout was not settable via ansible.cfg 2017-05-01 07:59:42 -07:00
base.py unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
test_ansible_collector.py Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
test_collector.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_collectors.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_facts.py Transform octal escape sequences in mtab fields (#60122) 2019-08-08 16:31:42 -05:00
test_timeout.py Speed up units using time.sleep by mocking or shortening sleep time (#61064) 2019-08-21 16:52:58 -05:00
test_utils.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00