Skip to content

Commit e62f81f

Browse files
committed
minor fixes to tests
1 parent e86e5fa commit e62f81f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nwss_wastewater/tests/test_pull.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def test_warn_string():
118118
df_conc = pd.read_csv("test_data/conc_data.csv")
119119
assert (
120120
warn_string(df_conc, type_dict)
121-
== "\nExpected column(s) missed, The dataset schema may\nhave changed. Please investigate and amend the code.\n\nColumns needed:\npcr_conc_smoothed\ntimestamp\n\nColumns available:\nUnnamed: 0\nkey_plot_id\ndate\npcr_conc_smoothed\nnormalization\n"
121+
== "\nExpected column(s) missed, The dataset schema may\nhave changed. Please investigate and amend the code.\n\nColumns needed:\npcr_conc_smoothed\ntimestamp\n\nColumns available:\nUnnamed: 0\ndate\nkey_plot_id\nnormalization\npcr_conc_smoothed\n"
122122
)
123123

124124

@@ -132,7 +132,7 @@ def test_formatting():
132132
df = df.rename(columns={"date": "timestamp"})
133133
df = df.astype(type_dict)
134134

135-
df_formatted = add_population(df, df_metric)
135+
df_formatted = reformat(df, df_metric)
136136

137137
assert all(
138138
df_formatted.columns

0 commit comments

Comments
 (0)