diff --git a/tests/test_FindTest.py b/tests/test_FindTest.py index 47339f1..70aa670 100644 --- a/tests/test_FindTest.py +++ b/tests/test_FindTest.py @@ -475,6 +475,15 @@ def test_find_citations(self): # Long pin cite -- make sure no catastrophic backtracking in regex ('1 U.S. 1, 2277, 2278, 2279, 2280, 2281, 2282, 2283, 2284, 2286, 2287, 2288, 2289, 2290, 2291', [case_citation(metadata={'pin_cite': '2277, 2278, 2279, 2280, 2281, 2282, 2283, 2284, 2286, 2287, 2288, 2289, 2290, 2291'})]), + # Test volume nominative reporter + ("Ridgely's Notebook, 362", + [case_citation(volume=None, reporter="Ridgely's Notebook", groups={'volume': None, 'reporter': "Ridgely's Notebook", 'page': '362'})]), + # Test volume nominative reporter with right single quotation mark + ('Bayard’s Notebook, 235', + [case_citation(volume=None, reporter="Bayard’s Notebook", groups={'volume': None, 'reporter': 'Bayard’s Notebook', 'page': '235'})]), + # Test citation with parallel citation in parentheses + ('24 Del. (1 Boyce) 1', + [case_citation(reporter="Del.", groups={'volume': '24', 'reporter': 'Del.', 'parallel_volume': '1', 'reporter_nominative': 'Boyce', 'page': '1'})]), ) # fmt: on self.run_test_pairs(test_pairs, "Citation extraction")