@@ -411,11 +411,11 @@ async def test_meter_data(self) -> None:
411411 )
412412
413413 with pytest .raises (ValueError ):
414- ## should raise a ValueError for missing component_id
414+ # should raise a ValueError for missing component_id
415415 await microgrid .meter_data (20 )
416416
417417 with pytest .raises (ValueError ):
418- ## should raise a ValueError for wrong component category
418+ # should raise a ValueError for wrong component category
419419 await microgrid .meter_data (38 )
420420 peekable = (await microgrid .meter_data (83 )).into_peekable ()
421421 await asyncio .sleep (0.2 )
@@ -444,11 +444,11 @@ async def test_battery_data(self) -> None:
444444 )
445445
446446 with pytest .raises (ValueError ):
447- ## should raise a ValueError for missing component_id
447+ # should raise a ValueError for missing component_id
448448 await microgrid .meter_data (20 )
449449
450450 with pytest .raises (ValueError ):
451- ## should raise a ValueError for wrong component category
451+ # should raise a ValueError for wrong component category
452452 await microgrid .meter_data (38 )
453453 peekable = (await microgrid .battery_data (83 )).into_peekable ()
454454 await asyncio .sleep (0.2 )
@@ -477,11 +477,11 @@ async def test_inverter_data(self) -> None:
477477 )
478478
479479 with pytest .raises (ValueError ):
480- ## should raise a ValueError for missing component_id
480+ # should raise a ValueError for missing component_id
481481 await microgrid .meter_data (20 )
482482
483483 with pytest .raises (ValueError ):
484- ## should raise a ValueError for wrong component category
484+ # should raise a ValueError for wrong component category
485485 await microgrid .meter_data (38 )
486486 peekable = (await microgrid .inverter_data (83 )).into_peekable ()
487487 await asyncio .sleep (0.2 )
@@ -510,11 +510,11 @@ async def test_ev_charger_data(self) -> None:
510510 )
511511
512512 with pytest .raises (ValueError ):
513- ## should raise a ValueError for missing component_id
513+ # should raise a ValueError for missing component_id
514514 await microgrid .meter_data (20 )
515515
516516 with pytest .raises (ValueError ):
517- ## should raise a ValueError for wrong component category
517+ # should raise a ValueError for wrong component category
518518 await microgrid .meter_data (38 )
519519 peekable = (await microgrid .ev_charger_data (83 )).into_peekable ()
520520 await asyncio .sleep (0.2 )
0 commit comments