Skip to content

Commit

Permalink
test(coloctapp): Fix coloctapp test
Browse files Browse the repository at this point in the history
Need test value 2023 for year
in colorado court appeals test
  • Loading branch information
flooie committed Jan 5, 2024
1 parent 7b90062 commit 1c088f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions juriscraper/opinions/united_states/state/coloctapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def __init__(self, *args, **kwargs):
self.status = None

def _process_html(self):
if self.test_mode_enabled():
self.year = "2023"
date = self.html.xpath("//div/p/a/text()")[0]
for row in self.html.xpath("//p"):
modified_string = re.sub(r"\s", "", row.text_content())
Expand Down

0 comments on commit 1c088f2

Please sign in to comment.