From 9cc62f77b6241bb1a6686acea5c2bb9cc7bdba82 Mon Sep 17 00:00:00 2001 From: kflemin <2205659+kflemin@users.noreply.github.com> Date: Fri, 21 Jul 2023 16:33:33 -0600 Subject: [PATCH] rename too long file --- .../resources/hpxml-measures/ReportUtilityBills/measure.xml | 2 +- ...mberCorp-ResidentialSeniorCitizenLowIncomeAssistance.json} | 0 .../ReportUtilityBills/tests/utility_bills_test.rb | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename example_files/resources/hpxml-measures/ReportUtilityBills/tests/{Jackson Electric Member Corp - A Residential Service Senior Citizen Low Income Assistance (Effective 2017-01-01).json => JacksonElectricMemberCorp-ResidentialSeniorCitizenLowIncomeAssistance.json} (100%) diff --git a/example_files/resources/hpxml-measures/ReportUtilityBills/measure.xml b/example_files/resources/hpxml-measures/ReportUtilityBills/measure.xml index 9cae6a3b..3d207816 100644 --- a/example_files/resources/hpxml-measures/ReportUtilityBills/measure.xml +++ b/example_files/resources/hpxml-measures/ReportUtilityBills/measure.xml @@ -73,7 +73,7 @@ 3DCED656 - Jackson Electric Member Corp - A Residential Service Senior Citizen Low Income Assistance (Effective 2017-01-01).json + JacksonElectricMemberCorp-ResidentialSeniorCitizenLowIncomeAssistance.json json test 953EE2AC diff --git a/example_files/resources/hpxml-measures/ReportUtilityBills/tests/Jackson Electric Member Corp - A Residential Service Senior Citizen Low Income Assistance (Effective 2017-01-01).json b/example_files/resources/hpxml-measures/ReportUtilityBills/tests/JacksonElectricMemberCorp-ResidentialSeniorCitizenLowIncomeAssistance.json similarity index 100% rename from example_files/resources/hpxml-measures/ReportUtilityBills/tests/Jackson Electric Member Corp - A Residential Service Senior Citizen Low Income Assistance (Effective 2017-01-01).json rename to example_files/resources/hpxml-measures/ReportUtilityBills/tests/JacksonElectricMemberCorp-ResidentialSeniorCitizenLowIncomeAssistance.json diff --git a/example_files/resources/hpxml-measures/ReportUtilityBills/tests/utility_bills_test.rb b/example_files/resources/hpxml-measures/ReportUtilityBills/tests/utility_bills_test.rb index 77258a3d..65e92ef3 100644 --- a/example_files/resources/hpxml-measures/ReportUtilityBills/tests/utility_bills_test.rb +++ b/example_files/resources/hpxml-measures/ReportUtilityBills/tests/utility_bills_test.rb @@ -238,7 +238,7 @@ def test_workflow_no_bill_scenarios def test_workflow_detailed_calculations @args_hash['hpxml_path'] = File.absolute_path(@tmp_hpxml_path) hpxml = HPXML.new(hpxml_path: File.join(@sample_files_path, 'base.xml')) - hpxml.header.utility_bill_scenarios.add(name: 'Test 1', elec_tariff_filepath: '../../ReportUtilityBills/tests/Jackson Electric Member Corp - A Residential Service Senior Citizen Low Income Assistance (Effective 2017-01-01).json') + hpxml.header.utility_bill_scenarios.add(name: 'Test 1', elec_tariff_filepath: '../../ReportUtilityBills/tests/JacksonElectricMemberCorp-ResidentialSeniorCitizenLowIncomeAssistance.json') XMLHelper.write_file(hpxml.to_oga, @tmp_hpxml_path) actual_bills = _test_measure() assert_operator(actual_bills['Test 1: Total (USD)'], :>, 0) @@ -247,7 +247,7 @@ def test_workflow_detailed_calculations def test_workflow_detailed_calculations_all_electric @args_hash['hpxml_path'] = File.absolute_path(@tmp_hpxml_path) hpxml = HPXML.new(hpxml_path: File.join(@sample_files_path, 'base-hvac-air-to-air-heat-pump-1-speed.xml')) - hpxml.header.utility_bill_scenarios.add(name: 'Test 1', elec_tariff_filepath: '../../ReportUtilityBills/tests/Jackson Electric Member Corp - A Residential Service Senior Citizen Low Income Assistance (Effective 2017-01-01).json') + hpxml.header.utility_bill_scenarios.add(name: 'Test 1', elec_tariff_filepath: '../../ReportUtilityBills/tests/JacksonElectricMemberCorp-ResidentialSeniorCitizenLowIncomeAssistance.json') XMLHelper.write_file(hpxml.to_oga, @tmp_hpxml_path) actual_bills = _test_measure() assert_operator(actual_bills['Test 1: Total (USD)'], :>, 0)