oslo.utils/oslo_utils/tests
Adam Rozman 72c80f6993 add <range-in> spec DSL operator
Add a new spec DSL operator called `range-in` that allowes users of
the spec_matcher to match values against numeric ranges.
The surrounding brackets determines whether the limit should be
inclusive or not.

examples:
 <range-in> [ 10 20 ]  : 10 <= x <= 20
 <range-in> ( 10 20 ]  : 10 <  x <= 20
 <range-in> [ 10 20 )  : 10 <= x <  20
 <range-in> ( 10 20 )  : 10 <  x <  20

Closes-Bug: #2052619
Change-Id: I444c01219d02ea7572d4b82117b89b8d3eb75e56
Signed-off-by: Adam Rozman <adam.rozman@est.tech>
Co-authored-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2024-02-19 13:23:13 +02:00
..
fake Make method import_versioned_module work 2016-10-12 16:51:52 +08:00
__init__.py Move files out of the namespace package 2015-01-06 17:07:36 -05:00
base.py Move files out of the namespace package 2015-01-06 17:07:36 -05:00
test_dictutils.py Create dictutils and add 'flatten_dict_to_keypairs' 2016-11-01 23:35:57 +08:00
test_eventletutils.py Remove all usage of six library 2020-10-09 19:20:51 +08:00
test_excutils.py Use unittest.mock instead of third party mock 2020-03-31 14:39:24 -05:00
test_fileutils.py Remove all usage of six library 2020-10-09 19:20:51 +08:00
test_fixture.py Modify UUID sentinel to support keystone-like UUIDs 2021-08-03 13:13:58 +02:00
test_imageutils.py [imageutils] Fix __str__ for QemuImgInfo 2022-11-11 16:18:15 -05:00
test_importutils.py Make method import_versioned_module work 2016-10-12 16:51:52 +08:00
test_netutils.py Add netutils.get_my_ipv6() 2023-05-24 13:58:29 +00:00
test_reflection.py Remove strict from is_same_callback() 2023-03-15 03:31:45 +00:00
test_secretutils.py Remove unnecessary unicode prefixes 2022-04-22 01:28:16 +00:00
test_specs_matcher.py add <range-in> spec DSL operator 2024-02-19 13:23:13 +02:00
test_strutils.py strutils: update string_to_bytes 2023-05-31 13:28:24 -04:00
test_timeutils.py Python-3.12: do not use datetime.datetime.utcnow() 2023-12-18 14:47:13 +00:00
test_uuidutils.py Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)' 2018-01-19 19:21:47 +08:00
test_versionutils.py versionutil: Remove trailing alpha/beta/rc suffix 2023-11-08 02:19:55 +09:00
tests_encodeutils.py Remove unnecessary unicode prefixes 2022-04-22 01:28:16 +00:00