election/openstack_election/tests
Tony Breeds cb661a42f8 Add a Sorting function.
Currently we're reverse sorting with a simple sort, this sadly puts
newer released (antalope, bobcat) at the end of the list.  Add a
key function that has context around our release names and release ids
to sort "2024.1/cantaloupe"[1] at the top.

[1] As of now the c name isn't selected cantaloupe is my placeholder

Change-Id: Ie7a9ffcdbe6a28cd2a80289ec06259ec869d306f
2023-07-13 16:39:42 +10:00
..
cmds Exclude projects under the distributed leadership model 2023-07-12 15:15:24 +10:00
__init__.py Make openstack_election look more like a python module 2016-09-12 15:35:40 +10:00
base.py Stop to use the __future__ module. 2020-07-24 13:44:46 +02:00
fixtures.py Stop to use the __future__ module. 2020-07-24 13:44:46 +02:00
test_sorting.py Add a Sorting function. 2023-07-13 16:39:42 +10:00
test_utils.py Use unittest.mock instead of mock 2020-09-15 17:44:21 +00:00