diff --git a/buildingspy/tests/test_development_regressiontest.py b/buildingspy/tests/test_development_regressiontest.py index 28147bc2..fb6758ad 100644 --- a/buildingspy/tests/test_development_regressiontest.py +++ b/buildingspy/tests/test_development_regressiontest.py @@ -256,6 +256,16 @@ def test_expand_packages(self): self.assertRaises(ValueError, r.Tester.expand_packages, "AB}a{") + def test_invalid_custom_reference_results(self): + import buildingspy.development.regressiontest as r + # Verify that setting both options raises a ValueError. + args = [] + kwargs = { + "base_reference_result_tool": "dymola", + "base_reference_result_directory": "test/test" + } + self.assertRaises(ValueError, r.Tester, *args, **kwargs) + if __name__ == '__main__': unittest.main()