File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -264,6 +264,11 @@ def test_well_inventory_db_contents():
264264 )
265265 assert location .elevation_method == file_content ["elevation_method" ]
266266
267+ assert (
268+ location ._get_notes ("Directions" )[0 ].content
269+ == file_content ["directions_to_site" ]
270+ )
271+
267272 # CONTACTS AND RELATED RECORDS
268273 thing_contact_associations = (
269274 session .query (ThingContactAssociation )
@@ -290,6 +295,14 @@ def test_well_inventory_db_contents():
290295 ), f"Expected 1 thing-contact association for thing { point_id } ."
291296
292297 for contact in contacts :
298+ assert (
299+ contact .general_notes [0 ].content
300+ == file_content ["contact_special_requests_notes" ]
301+ )
302+ assert (
303+ contact .communication_notes [0 ].content
304+ == file_content ["result_communication_preference" ]
305+ )
293306 if contact .contact_type == "Primary" :
294307 assert contact .name == file_content ["contact_1_name" ]
295308 assert (
You can’t perform that action at this time.
0 commit comments