nestauk / dap_prinz_green_jobs

Identifying green occupations/skills/industries in job adverts
MIT License
3 stars 0 forks source link

Fix tests for github action tests #131

Closed lizgzil closed 3 months ago

lizgzil commented 5 months ago

Put the loading of the sic data into a function of sic_mapper_utils so that it doesn't error when we run the github actions tests.

from dap_prinz_green_jobs.pipeline.green_measures.industries.sic_mapper.sic_mapper_utils import (
    clean_sic,
)

was failing in test_industry_measures.py

Similarly with the test_skills_measures.py

Description

Please include a summary of the changes.

Fixes # (issue)

Instructions for Reviewer

In order to test the code in this PR you need to ...

Please pay special attention to ...

Checklist: