Skip to content

Commit a56dcc6

Browse files
committed
removes tests for removed method
1 parent 7e30183 commit a56dcc6

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

climada/entity/measures/test/test_cost_income.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -134,29 +134,6 @@ def test_from_yaml(self, tmp_path):
134134
assert ci.periodic_income == 300.0
135135

136136

137-
# ---------------------------------------------------------------------------
138-
# _freq_to_days
139-
# ---------------------------------------------------------------------------
140-
141-
142-
class TestFreqToDays:
143-
def test_yearly(self):
144-
result = CostIncome._freq_to_days("Y")
145-
assert result == "365d"
146-
147-
def test_monthly(self):
148-
result = CostIncome._freq_to_days("M")
149-
assert result == "30d"
150-
151-
def test_daily(self):
152-
result = CostIncome._freq_to_days("D")
153-
assert result == "1d"
154-
155-
def test_invalid(self):
156-
with pytest.raises(ValueError):
157-
CostIncome._freq_to_days("INVALID_FREQ_XYZ")
158-
159-
160137
# ---------------------------------------------------------------------------
161138
# _get_width_days
162139
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)