diff --git a/test/90_1_prm/test_appendix_g_prm.rb b/test/90_1_prm/test_appendix_g_prm.rb index cf40bea107..30fea3b122 100644 --- a/test/90_1_prm/test_appendix_g_prm.rb +++ b/test/90_1_prm/test_appendix_g_prm.rb @@ -2794,6 +2794,7 @@ def change_bldg_type(model, arguments) # @param model [OpenStudio::model::Model] OpenStudio model object # @param arguments [Array] List of arguments def remove_transformer(model, arguments) + assert(model, 'Unsuccessfully generating the model') model.getElectricLoadCenterTransformers.each(&:remove) return model end