From 7e24369e9ba461cf784c57994b86bab94dd63c19 Mon Sep 17 00:00:00 2001 From: Matt Dahl Date: Thu, 23 Feb 2023 15:49:02 -0500 Subject: [PATCH] test(find): Adds failing test for court string without space (#135). --- tests/test_FindTest.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_FindTest.py b/tests/test_FindTest.py index 2cc93ad..54f2f18 100644 --- a/tests/test_FindTest.py +++ b/tests/test_FindTest.py @@ -121,6 +121,13 @@ def test_find_citations(self): 'defendant': 'test', 'court': 'ca4', 'pin_cite': '347-348'})]), + # Test with court string without space + ('bob lissner v. test 1 U.S. 12, 347-348 (Pa.Super. 1982)', + [case_citation(page='12', year=1982, + metadata={'plaintiff': 'lissner', + 'defendant': 'test', + 'court': 'pasuperct', + 'pin_cite': '347-348'})]), # Parallel cite with parenthetical ('bob lissner v. test 1 U.S. 12, 347-348, 1 S. Ct. 2, 358 (4th Cir. 1982) (overruling foo)', [case_citation(page='12', year=1982,