Skip to content

Commit 260c1b9

Browse files
committed
fix rooftop pv power test
1 parent fb8bdc8 commit 260c1b9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/test_tmy.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ def test_rooftop_pv_power():
2323
def test_fail_rooftop_pv_power():
2424
lats, longs = load_test_locations_coordinates()
2525

26-
res = tmy.rooftop_pv_power(latitude=lats[0], longitude=longs[0], array_type="wrong", capacity=3)
26+
res = tmy.rooftop_pv_power(
27+
latitude=lats[0], longitude=longs[0], array_type="wrong", capacity=3
28+
)
2729

2830
assert res.success is False
2931
assert res.code == 400
30-
assert res.exception == "The specified condition was not met for 'Array Type'."
32+
assert res.exception == "The specified condition was not met for 'array_type'."

0 commit comments

Comments
 (0)