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
Michael Cassaniti a096cd08c5 docker_swarm_service: Sort lists when checking for changes (#63887)
* docker_swarm_service: Sort lists when checking for changes

When two lists are checked for changes in this module, the lists are 
reported changed when the order of the items is different. This PR 
resolves this issue.

* docker_swarm_service: Minor typo fix

* docker_swarm_service: Another minor typo

* docker_swarm_service: Should use sorted(), not sort()

* docker_swarm_service: Sort lists of dictionaries

* docker_swarm_service: Fix style issues in tests

* docker_swarm_service: Updates to integration tests

* docker_swarm_service: Casting string types within lists when comparing

* docker_swarm_service: Special handling of unordered networks with ordered aliases

* docker_swarm_service: Sorting network lists

* docker_swarm_serivce: Better unit test code coverage for lists and networks

* docker_swarm_service: Fixed coding style for sanity tests

* docker_swarm_service: More coding style fixes

* docker_swarm_service: Ignoring test for Python < 3

* docker_swarm_service: Update to version info check for backwards compatibility

* docker_swarm_service: Added change fragment #63887

* docker_swarm_service: Better handling of missing sort key for dictionary of lists

* docker_swarm_service: Preventing sorts from modifying in-place

Co-Authored-By: Felix Fontein <felix@fontein.de>

* docker_swarm_service: Removed spurious import in test

* docker_swarm_service: Preventing sorts from modifying more data in-place

Co-Authored-By: Felix Fontein <felix@fontein.de>
5 years ago
..
cli Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config config manager str type vault source (#65023) 5 years ago
contrib Fix vmware_inventory unit tests so they run. 6 years ago
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 5 years ago
executor Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
galaxy Add the ability to ignore files and collection build (#64688) 5 years ago
inventory_test_data/group_vars
mock Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
module_utils Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
modules docker_swarm_service: Sort lists when checking for changes (#63887) 5 years ago
parsing Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
playbook Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
plugins fix all modules to be able to get parameter with value false (very important fix) (#65040) 5 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
utils Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt Fix ansible-test collections requirements installation. (#62181) 5 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 8 years ago
test_context.py Unit tests: remove unused imports (#59740) 5 years ago