simple script to run tests

This commit is contained in:
Jun-te Kim 2025-03-28 16:09:03 +00:00
parent 3611f72be4
commit a0a3fc67df
3 changed files with 10 additions and 1 deletions

View file

@ -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
View file

@ -0,0 +1 @@
poetry run pytest