mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-30 13:10:56 +00:00
simple script to run tests
This commit is contained in:
parent
3611f72be4
commit
a0a3fc67df
3 changed files with 10 additions and 1 deletions
|
|
@ -18,4 +18,12 @@ def local_survey(pre_site_note_path):
|
|||
|
||||
def test_assessor_accreditation(local_survey):
|
||||
"""Test that the assessor accreditation number is correct."""
|
||||
assert local_survey.pre_site_note.assessor_information.accreditation_number == "QUID211435"
|
||||
assert local_survey.pre_site_note.assessor_information.accreditation_number == "QUID211435"
|
||||
|
||||
|
||||
def test_floor_area_calculator(local_survey):
|
||||
# Floor area is important to work out invoice, make a test to work out invoice correctly
|
||||
print(local_survey)
|
||||
raise NotImplementedError("Yo - junte do some work here")
|
||||
|
||||
|
||||
|
|
|
|||
1
run_tests.sh
Normal file
1
run_tests.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
poetry run pytest
|
||||
Loading…
Add table
Reference in a new issue