mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
Add test
This commit is contained in:
parent
927616decb
commit
7610a0459e
1 changed files with 12 additions and 0 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue