Skip to content

Commit 010cf68

Browse files
committed
Doesn't like using params from db model
1 parent c82cfbd commit 010cf68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/workflows/spa/test_flush_spa_preprocess.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ def test_register_grid_square_update_add_nothing(mock_transport, start_postgres)
8282
# Confirm the database was not updated
8383
with Session(engine) as murfey_db:
8484
grid_square_final_parameters = murfey_db.exec(select(GridSquare)).one()
85-
assert grid_square_final_parameters.x_location == grid_square.x_location
86-
assert grid_square_final_parameters.y_location == grid_square.y_location
87-
assert grid_square_final_parameters.x_stage_position == grid_square.x_stage_position
88-
assert grid_square_final_parameters.y_stage_position == grid_square.y_stage_position
85+
assert grid_square_final_parameters.x_location == 0.1
86+
assert grid_square_final_parameters.y_location == 0.2
87+
assert grid_square_final_parameters.x_stage_position == 0.3
88+
assert grid_square_final_parameters.y_stage_position == 0.4
8989

9090

9191
@mock.patch("murfey.workflows.spa.flush_spa_preprocess._transport_object")

0 commit comments

Comments
 (0)