Testing the pelicun.db module

These are unit and integration tests on the db module of pelicun.

pelicun.tests.test_db.test_convert_P58_data_to_json()[source]

Test if the damage and loss data from the FEMA P58 project is properly converted into the SimCenter JSON format using xml and xlsx files avialable from ATC (the test uses a subset of the files).

pelicun.tests.test_db.test_create_HAZUS_json_files()[source]

Test if the damage and loss data from HAZUS is properly converted into the SimCenter JSON format the prepared raw HAZUS JSON files (the test uses a subset of the HAZUS input data).