Skip to content

Commit e733073

Browse files
committed
Fix minor issues with unittest
1 parent 78c027b commit e733073

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/pownet/optim_model/constraints/thermal_unit_constr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""thermal_unit.py: Constraints for thermal units"""
1+
"""thermal_unit_constr.py: Constraints for thermal units"""
22

33
import gurobipy as gp
44
import pandas as pd

src/test_pownet/test_optim_model/test_constraints/__init__.py

Whitespace-only changes.

src/test_pownet/test_optim_model/test_constraints/test_thermal_unit_constr.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
import unittest
44
import gurobipy as gp
55

6-
# Import the module to be tested
76
from pownet.optim_model.constraints import thermal_unit_constr
87

98

10-
class TestThermalUnitConstraints(unittest.TestCase):
9+
class TestThermalUnitConstrs(unittest.TestCase):
1110

1211
def setUp(self):
1312
"""Set up common resources for each test method."""

0 commit comments

Comments
 (0)