mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-30 13:10:56 +00:00
finsihed writing floor area, add more test as I need them@
This commit is contained in:
parent
72bb09eb41
commit
8ee0a236f9
3 changed files with 6 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
|||
name: SCIS Invoice Calculator
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 9 * * *'
|
||||
- cron: '0 6 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
2
.github/workflows/sharepoint_validator.yml
vendored
2
.github/workflows/sharepoint_validator.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
name: SharePoint Validator
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 9 * * *'
|
||||
- cron: '0 6 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
Loading…
Add table
Reference in a new issue