From a0a3fc67df5f977c1aab4e0f343bfd13ad078c72 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Fri, 28 Mar 2025 16:09:03 +0000 Subject: [PATCH] simple script to run tests --- etl/{load.py => simple_load_example.py} | 0 etl/tests/test_pre_site_note_class.py | 10 +++++++++- run_tests.sh | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) rename etl/{load.py => simple_load_example.py} (100%) create mode 100644 run_tests.sh diff --git a/etl/load.py b/etl/simple_load_example.py similarity index 100% rename from etl/load.py rename to etl/simple_load_example.py diff --git a/etl/tests/test_pre_site_note_class.py b/etl/tests/test_pre_site_note_class.py index a354cfa..143a4f7 100644 --- a/etl/tests/test_pre_site_note_class.py +++ b/etl/tests/test_pre_site_note_class.py @@ -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" \ No newline at end of file + 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") + + diff --git a/run_tests.sh b/run_tests.sh new file mode 100644 index 0000000..c7c20e0 --- /dev/null +++ b/run_tests.sh @@ -0,0 +1 @@ +poetry run pytest