mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-06 21:13:43 -05:00
Add test
This commit is contained in:
@@ -47,6 +47,18 @@ class _TestMatchingBase(TestCase):
|
|||||||
|
|
||||||
|
|
||||||
class TestMatching(_TestMatchingBase):
|
class TestMatching(_TestMatchingBase):
|
||||||
|
def test_match_none(self):
|
||||||
|
|
||||||
|
self._test_matching(
|
||||||
|
"",
|
||||||
|
"MATCH_NONE",
|
||||||
|
(),
|
||||||
|
(
|
||||||
|
"no",
|
||||||
|
"match",
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
def test_match_all(self):
|
def test_match_all(self):
|
||||||
|
|
||||||
self._test_matching(
|
self._test_matching(
|
||||||
|
Reference in New Issue
Block a user