Skip to content

Commit 92e3699

Browse files
committed
fixes #17
1 parent fc97fc5 commit 92e3699

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

swmmnetwork/tests/test_scenario.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import pandas.util.testing as pdtest
99

1010
from swmmnetwork.scenario import ScenarioHydro, ScenarioLoading
11+
from swmmnetwork.scenario import _upper_case_index, _upper_case_column
1112
from .utils import data_path
1213

1314

@@ -22,12 +23,12 @@ def setup(self):
2223

2324
self.known_all_nodes = (
2425
pd.read_csv(data_path('all_nodes.csv'), index_col=[0])
25-
.pipe(ScenarioHydro._upper_case_index)
26+
.pipe(_upper_case_index)
2627
)
2728
self.known_all_edges = (
2829
pd.read_csv(data_path('all_edges.csv'), index_col=[0])
29-
.pipe(ScenarioHydro._upper_case_index)
30-
.pipe(ScenarioHydro._upper_case_column, ['inlet_node', 'outlet_node'])
30+
.pipe(_upper_case_index)
31+
.pipe(_upper_case_column, ['inlet_node', 'outlet_node'])
3132
)
3233

3334
self.sh = ScenarioHydro(self.known_inp_path, self.known_rpt_path,

0 commit comments

Comments
 (0)