Skip to content

Commit

Permalink
Replacing the openstudio-standards revision number with "test" in the…
Browse files Browse the repository at this point in the history
… test_necb_qaqc_reporting.rb output. The openstudio-standards revision number changes with every commit causing the test to always fail.
  • Loading branch information
ckirney committed Apr 16, 2024
1 parent 4ca5b39 commit 28b64e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
]
}
],
"os_standards_revision": "04ca66a25",
"os_standards_revision": "test",
"os_standards_version": "0.5.0",
"openstudio_version": "3.7.0+d5269793f1",
"energyplus_version": "23.2.0",
Expand Down
3 changes: 2 additions & 1 deletion test/necb/unit_tests/tests/test_necb_qaqc_reporting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def test_qaqc_reporting
standard.model_run_simulation_and_log_errors(model, output_folder)
# Create the results file
qaqc = standard.init_qaqc(model)

# Replace the openstudio-standards version with test to avoid the test failing with every commit to a branch.
qaqc[:os_standards_revision] = "test"
# Create the test file. If no expected results file exists create the expected results file from the test results.
qaqc_expected_results = File.join(@expected_results_folder, 'qaqc_report_expected_result.json')
qaqc_test_results = File.join(@test_results_folder, 'qaqc_report_test_result.json')
Expand Down

0 comments on commit 28b64e6

Please sign in to comment.