Skip to content

Commit

Permalink
Fix pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
smartie2076 committed May 4, 2021
1 parent 843e112 commit 47c6714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_G3_oemof_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_get_hours_of_operation():
operation_boolean.sum() == 2
), f"It was expected that the number of operation hours in the evaluated timeframe was 2, but it is {operation_boolean.sum()}."
assert_series_equal(
genset_generation.astype(np.float64), exp(np.float64), check_names=False,
operation_boolean.astype(np.float64), exp.astype(np.float64), check_names=False,
), f"The operational hours pd.Series should be the same when calculated with the function to the expected series."
assert (
GENSET_HOURS_OF_OPERATION in oemof_results
Expand Down

0 comments on commit 47c6714

Please sign in to comment.