Skip to content

Commit 3af0d86

Browse files
fixed test for producer
1 parent 24e1e22 commit 3af0d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_output_calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def test_producer_factor_incorrect_value(self):
253253
# check for error in setter
254254
with self.assertRaises(ValueError) as e:
255255
self.output.producer_factor = 0
256-
self.assertEqual(str(e.exception), "Producer factor should be between 0 (Exclusive) and 1 (inclusive)")
256+
self.assertEqual(str(e.exception), "Producer factor should be between 0 (Exclusive) and 2 (inclusive)")
257257

258258
def test_get_data_shape(self):
259259
# check first year values

0 commit comments

Comments
 (0)