From: Brandon Rothweiler Date: Wed, 22 Feb 2023 14:39:29 +0000 (-0500) Subject: Add test X-Git-Tag: v1.14.0-beta.rc1~94^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2727%2Fhead;p=thirdparty%2Fpaperless-ngx.git Add test --- diff --git a/src/documents/tests/test_matchables.py b/src/documents/tests/test_matchables.py index 8dc629b0b0..8d5cd6695b 100644 --- a/src/documents/tests/test_matchables.py +++ b/src/documents/tests/test_matchables.py @@ -47,6 +47,18 @@ class _TestMatchingBase(TestCase): class TestMatching(_TestMatchingBase): + def test_match_none(self): + + self._test_matching( + "", + "MATCH_NONE", + (), + ( + "no", + "match", + ), + ) + def test_match_all(self): self._test_matching(