Skip to content

Commit 2c4a06f

Browse files
committed
remove license test
1 parent 1937ccc commit 2c4a06f

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

functions-python/tasks_executor/tests/tasks/data_import/test_cal_itp_import.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
)
1313
from 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

149148
class 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()

0 commit comments

Comments
 (0)