validations_common.tests.callback_plugins.test_http_json module¶
test_http_json¶
Tests for http_json callback plugin.
- class validations_common.tests.callback_plugins.test_http_json.TestHttpJson(*args: Any, **kwargs: Any)[source]¶
- validations_common.tests.callback_plugins.test_http_json.is_iso_time(time_string)[source]¶
Checks if string represents valid time in ISO format, with the default delimiter. Regex is somewhat convoluted, but general enough to last at least until the 9999 AD.
- Returns:
True if string matches the pattern. False otherwise.