Commit a80b7adb authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Add test

parent 1b1c7279
Pipeline #15415 failed with stages
in 1 minute and 8 seconds
......@@ -49,6 +49,12 @@ def test_eq_and(raw, config, expected):
{"platform": {"$regex": "^S"}, "vendor": "Dell"},
False,
),
(
{"vendor": "Eltex", "image": "_image.bin"},
{"image": {"$regex": "^\S+"}, "vendor": "Eltex"},
True,
),
({"vendor": "Eltex"}, {"image": {"$regex": "^\S+"}, "vendor": "Eltex"}, False),
],
)
def test_regex(raw, config, expected):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment