]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Add test 2727/head
authorBrandon Rothweiler <brandonrothweiler@gmail.com>
Wed, 22 Feb 2023 14:39:29 +0000 (09:39 -0500)
committerBrandon Rothweiler <brandonrothweiler@gmail.com>
Wed, 22 Feb 2023 14:39:29 +0000 (09:39 -0500)
src/documents/tests/test_matchables.py

index 8dc629b0b085edccb4086338a2e117fd390e2d76..8d5cd6695b3de657d00d430b82bed9f375372bab 100644 (file)
@@ -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(