File tree Expand file tree Collapse file tree
functions-python/tasks_executor/tests/tasks/data_import Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212)
1313from tasks .data_import .cal_itp .import_cal_itp_feeds import (
1414 import_cal_itp_handler ,
15- _get_license_url ,
1615 _probe_head_format ,
1716 _get_entity_types_from_resource ,
1817 _is_bay_area_511 ,
@@ -147,20 +146,6 @@ def _make_record(
147146
148147
149148class TestCalItpHelpers (unittest .TestCase ):
150- def test_get_license_url_mapping_and_unknown (self ):
151- # Known (case-insensitive)
152- self .assertEqual (
153- _get_license_url ("odc-odbl" ),
154- "https://opendatacommons.org/licenses/odbl/1.0/" ,
155- )
156- self .assertEqual (
157- _get_license_url ("ODC-ODBL" ),
158- "https://opendatacommons.org/licenses/odbl/1.0/" ,
159- )
160-
161- # Unknown and None
162- self .assertIsNone (_get_license_url ("some-other-license" ))
163- self .assertIsNone (_get_license_url (None ))
164149
165150 def test_probe_head_format_detects_zip_and_csv (self ):
166151 sess = MagicMock ()
You can’t perform that action at this time.
0 commit comments