Skip to content

Commit

Permalink
fix(tests): Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
flooie committed Jan 22, 2025
1 parent 67df9a8 commit b4f6ff2
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions tests/test_FindTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,28 +451,25 @@ def test_find_citations(self):
year=2004,
metadata={'plaintiff': None,
'defendant': None,
'court': 'scotus'
}
)],
'court': 'scotus'})],
{'clean': ['html', 'inline_whitespace']}),
# Test filtering overlapping citations - this finds four citations
# but should filter down to three
("Miles v. Smith 1 Ga. 1; asdfasdf asd Something v. Else, 1 Miles 3; 1 Miles at 10",
[case_citation(page='1',
volume="1",
reporter="Ga.",
metadata={'plaintiff': 'Miles',
'defendant': 'Smith',
}),
case_citation(page='3',
volume="1",
reporter="Miles",
metadata={'plaintiff': 'Something',
'defendant': 'Else'}
),
case_citation(volume="1", page='10', reporter='Miles',
short=True,
metadata={'pin_cite': '10'})]),
[case_citation(page='1',
volume="1",
reporter="Ga.",
metadata={'plaintiff': 'Miles',
'defendant': 'Smith'}),
case_citation(page='3',
volume="1",
reporter="Miles",
metadata={'plaintiff': 'Something',
'defendant': 'Else'}
),
case_citation(volume="1", page='10', reporter='Miles',
short=True,
metadata={'pin_cite': '10'})]),
('General Casualty cites as compelling Amick v. Liberty Mut. Ins. Co., 455 A.2d 793 (R.I. 1983). In that case ... Stats, do. See Amick at 795',
[case_citation(page='793',
volume="455",
Expand Down

0 comments on commit b4f6ff2

Please sign in to comment.