finsihed writing floor area, add more test as I need them@

This commit is contained in:
Jun-te Kim 2025-03-31 10:37:14 +00:00
parent 72bb09eb41
commit 8ee0a236f9
3 changed files with 6 additions and 7 deletions

View file

@ -1,7 +1,7 @@
name: SCIS Invoice Calculator
on:
schedule:
- cron: '0 9 * * *'
- cron: '0 6 * * *'
workflow_dispatch:
jobs:

View file

@ -1,7 +1,7 @@
name: SharePoint Validator
on:
schedule:
- cron: '0 9 * * *'
- cron: '0 6 * * *'
workflow_dispatch:
jobs:

View file

@ -4,7 +4,7 @@ from etl.surveyedData.surveryedData import surveyedDataProcessor
from etl.db.db import get_db_session, init_db
from etl.transform.types import AssessorInfo
import pytest
from etl.jjc_invoice import work_out_total_floor_area
@pytest.fixture(scope="module")
def pre_site_note_path():
@ -23,7 +23,6 @@ def test_assessor_accreditation(local_survey):
def test_floor_area_calculator(local_survey):
# Floor area is important to work out invoice, make a test to work out invoice correctly
raise NotImplementedError("Yo - junte do some work here")
area = work_out_total_floor_area(local_survey.pre_site_note)
assert area == ('73-97m', 91)