text: from datetime import datetime
  from os.path import dirname, join
  
  import pytest
  from city_scrapers_core.constants import NOT_CLASSIFIED
  from city_scrapers_core.utils import file_response
  from freezegun import freeze_time
  
  from city_scrapers.spiders.minn_csc import MinnCscSpider
  
  test_response = file_response(
      join(dirname(__file__), "files", "minn_csc.html"),
      url="https://lims.minneapolismn.gov/Calendar/GetCalenderList?fromDate=Dec%2031,%202017&toDate=none&meetingType=4&committeeId=46&pageCount=10000&offsetStart=0&abbreviation=ZBA&keywords=&sortOrder=6",
  )
  spider = MinnCscSpider()
  
  freezer = freeze_time("2021-08-23")
  freezer.start()
  
  parsed_items = [item for item in spider.parse(test_response)]
  
  freezer.stop()
  
  
  def test_title():
      assert parsed_items[0]["title"] == "Civil Service Commission"
  
  
  def test_start():
      assert parsed_items[0]["start"] == datetime(2018, 1, 23, 14, 0)
  
  
  def test_status():
      assert parsed_items[0]["status"] == "passed"
  
  
  def test_classification():
      assert parsed_items[0]["classification"] == "Commission"
  
  
  # @pytest.mark.parametrize("item", parsed_items)
  def test_all_day():
      assert parsed_items[0]["all_day"] is False
  
  
  def test_location():
      assert parsed_items[0]["location"] == {
          "name": "Room 101, City of Lakes Building",
          "address": "309 2nd Ave. S., Minneapolis, MN 55408"
      }
  
  
  def test_source():
      assert parsed_items[0]["source"] == "https://lims.minneapolismn.gov/IndependentBodies/IndependentBodiesMeetings/CSC"
  
  
  def test_links():
      assert parsed_items[0]["links"] == []
  
  