ansible/test/units
Sam Doran 9b8a649f2e
[stable-2.10] Handle Slackware OS version strings containing a plus (“+”) (#68142) (#70717)
A couple of years ago Slackware -current began using a plus (“+”) at the end of the distribution version string to indicate a future version work-in-progress.

Rearrange distribution_files unit tests to easily support more tests
  - add conftest with common fixtures
  - use parametrize for testing multiple scenarios

* Add changelog
* Add unit tests for Slackware distribution parsing
* Use correct fixtures for Slackware
Data comes from /etc/slackware-version

Co-authored-by: Sam Doran <sdoran@redhat.com>
Co-authored-by: <Eduard Rozenberg <eduardr@pobox.com>>
(cherry picked from commit 566c5e6ce1)

Co-authored-by: Eduard Rozenberg <2648417+edrozenberg@users.noreply.github.com>

Co-authored-by: Eduard Rozenberg <2648417+edrozenberg@users.noreply.github.com>
2020-07-21 11:21:07 -07:00
..
_vendor transparent downstream vendoring (#69850) 2020-06-15 16:22:25 -07:00
ansible_test Add Azure Pipelines support to ansible-test. 2020-06-11 14:57:42 -07:00
cli ansible-galaxy - fix collection installation with trailing slashes (#70016) 2020-06-15 17:36:07 -04:00
compat
config [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 2019-11-05 09:12:11 -08:00
executor refactor Python module_utils locator (#70610) (#70711) 2020-07-17 10:57:44 -07:00
galaxy [2.10] Improve ansible-galaxy STDOUT messages for collections (#70379) 2020-07-17 12:39:16 -07:00
inventory [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
inventory_test_data/group_vars
mock [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
module_utils [stable-2.10] Handle Slackware OS version strings containing a plus (“+”) (#68142) (#70717) 2020-07-21 11:21:07 -07:00
modules [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
parsing [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
playbook [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
plugins Make filter type errors 'loop friendly' (#70417) (#70574) 2020-07-17 12:51:18 -07:00
regex
template Do not treat AnsibleUndefined as being unsafe (#65202) 2019-11-25 15:06:29 +01:00
utils [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 2019-11-06 08:14:29 -08:00
__init__.py
requirements.txt Remove unnecessary unit test requirements. 2020-03-23 11:14:21 -05:00
test_constants.py [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
test_context.py [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00