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/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>
4 years ago
..
fixtures extends linux cpuinfo test unit with sparc64 data (#55394) 6 years ago
hardware introduce fact "ansible_processor_nproc": number of usable vcpus (#66569) 4 years ago
network unit tests: remove unused imports (#59636) 5 years ago
other Clean up ansible-test references in tests. (#60108) 5 years ago
system Ensure Clear Linux parsing is actually parsing a Clear Linux host and all others fall back to NA (#53298) 6 years ago
__init__.py
base.py unit tests: remove unused imports (#60462) 5 years ago
test_ansible_collector.py Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
test_collector.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_collectors.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_facts.py Transform octal escape sequences in mtab fields (#60122) 5 years ago
test_timeout.py Speed up units using time.sleep by mocking or shortening sleep time (#61064) 5 years ago
test_utils.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago