Skip to content

Commit

Permalink
Restyled by autopep8
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and KishokG committed Jan 17, 2025
1 parent 75dac93 commit f735fee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/python_testing/TC_EPREF_2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ async def test_TC_EPREF_2_1(self):

# If there are more than 2 BalanceStructs, verify the 'step' values are in ascending order
for i, (current_balance, next_balance) in enumerate(zip(energy_balances[:-1], energy_balances[1:])):
asserts.assert_true(current_balance.step < next_balance.step, f"The step at index {i+1} ({next_balance.step}) should larger than the previous step ({current_balance.step})")
asserts.assert_true(current_balance.step < next_balance.step,
f"The step at index {i+1} ({next_balance.step}) should larger than the previous step ({current_balance.step})")

else:
logging.info("Test step skipped EnergyBalances Attribute")
Expand Down Expand Up @@ -264,7 +265,8 @@ async def test_TC_EPREF_2_1(self):

# If there are more than 2 BalanceStructs, verify that the Step field is in ascending order
for i, (current_balance, next_balance) in enumerate(zip(energy_balances[:-1], energy_balances[1:])):
asserts.assert_true(current_balance.step < next_balance.step, f"The step at index {i+1} ({next_balance.step}) should larger than the previous step ({current_balance.step})")
asserts.assert_true(current_balance.step < next_balance.step,
f"The step at index {i+1} ({next_balance.step}) should larger than the previous step ({current_balance.step})")

else:
logging.info("Test step skipped")
Expand Down

0 comments on commit f735fee

Please sign in to comment.