Skip to content

Commit

Permalink
Fix: Mandan source value
Browse files Browse the repository at this point in the history
  • Loading branch information
SimmonsRitchie committed Jul 8, 2024
1 parent 100d863 commit 29cba67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion city_scrapers/mixins/mc.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def parse(self, response):
time_notes="",
location=self._parse_location(item["eventLocation"]),
links=self._parse_links(item),
source=response.url,
source="https://mandannd.portal.civicclerk.com/",
)
meeting["status"] = self._get_status(meeting)
meeting["id"] = self._get_id(meeting)
Expand Down
3 changes: 1 addition & 2 deletions tests/test_bisnd_mc_cc.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ def test_location():

def test_source():
assert (
parsed_items[0]["source"]
== "https://mandannd.api.civicclerk.com/v1/Events?$filter=categoryId+in+(26)+and+startDateTime+ge+2024-02-12T10:00:00Z+and+startDateTime+le+2024-09-12T10:00:00Z&$orderby=startDateTime" # noqa
parsed_items[0]["source"] == "https://mandannd.portal.civicclerk.com/" # noqa
)


Expand Down

0 comments on commit 29cba67

Please sign in to comment.