Skip to content

Commit d903a3f

Browse files
committed
fix test for createResultsSQLDatabase
had updated name in the utility to move away from SPP name.
1 parent 8ce0c26 commit d903a3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sorcha/test_createResultsSQLDatabase.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_create_results_table(tmp_path):
9191

9292
cnx_in = sqlite3.connect(os.path.join(tmp_path, "test_results_table.db"))
9393
cur = cnx_in.cursor()
94-
cur.execute("select * from pp_results")
94+
cur.execute("select * from sorcha_results")
9595
col_names = list(map(lambda x: x[0], cur.description))
9696
test_inputs = pd.DataFrame(cur.fetchall(), columns=col_names)
9797
cnx_out.close()
@@ -125,7 +125,7 @@ def test_create_results_database(tmp_path):
125125
col_names = list(map(lambda x: x[0], cur.description))
126126
test_orbits = pd.DataFrame(cur.fetchall(), columns=col_names)
127127

128-
cur.execute("select * from pp_results")
128+
cur.execute("select * from sorcha_results")
129129
col_names = list(map(lambda x: x[0], cur.description))
130130
test_results = pd.DataFrame(cur.fetchall(), columns=col_names)
131131

0 commit comments

Comments
 (0)