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
Felix Fontein cf269667c1 docker_swarm_service: Sort lists when checking for changes (#63887) (#65221)
* 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>
(cherry picked from commit a096cd08c5)
6 years ago
..
cli Fix test_galaxy failing test (#62624) 6 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
config fixes to config manager (#58530) 7 years ago
contrib Fix vmware_inventory unit tests so they run. 7 years ago
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 7 years ago
executor [stable-2.9] Ensure we don't erase unsafe context in TaskExecutor.run on bytes (#62287) 6 years ago
galaxy [stable-2.9] Fix up role version pagination for Galaxy install (#64373) 6 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
module_utils XenServer: Update docs with recent changes in XenAPI python lib and branding (#63728) (#63815) 6 years ago
modules docker_swarm_service: Sort lists when checking for changes (#63887) (#65221) 6 years ago
parsing Add a representer for AnsibleUnsafeBytes (#62598) 6 years ago
playbook Wrap CLI passwords as AnsibleUnsafeText (#63352) 6 years ago
plugins become - stop using play context in more places (#62373) (#64965) 6 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 7 years ago
template unit tests: remove unused imports (#60462) 6 years ago
utils add subdir support to collection loading (#60682) 6 years ago
vars Fix inventory cache interface (#50446) 7 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
requirements.txt [stable-2.9] Fix ansible-test collections requirements installation. (#62181) 6 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 9 years ago
test_context.py Unit tests: remove unused imports (#59740) 7 years ago