Skip to content

Commit

Permalink
update pytests
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyhoyat committed Sep 28, 2023
1 parent a902c5e commit 2f3edf6
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions tests/test_chi_citycouncil.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_end():
def test_time_notes():
assert (
parsed_items[0]["time_notes"]
== "Please double check the meeting time on the meeting page."
== "Please double check the meeting time on the meeting notice and/or agenda."
)


Expand All @@ -67,18 +67,16 @@ def test_location():


def test_source():
assert (
parsed_items[0]["source"] == "https://api.chicityclerkelms.chicago.gov/meeting"
)
assert parsed_items[0]["source"] == "https://chicityclerkelms.chicago.gov/Meetings/"


def test_links():
assert parsed_items[0]["links"] == [
{
"href": "https://chicityclerkelms.chicago.gov/Meeting/?meetingId=05889499-4C56-EE11-BE6E-001DD8098532", # noqa
"title": "Meeting Page",
}
]
# def test_links():
# assert parsed_items[0]["links"] == [
# {
# "href": "https://occprodstoragev1.blob.core.usgovcloudapi.net/meetingattachmentspublic/12872b2c-96aa-497a-961a-2929d592b6ca.pdf", # noqa
# "title": "Notice",
# }
# ]


def test_classification():
Expand Down

0 comments on commit 2f3edf6

Please sign in to comment.