Skip to content

Commit

Permalink
Fix inconsistent 'get' in torsiondrive test
Browse files Browse the repository at this point in the history
  • Loading branch information
bennybp committed Nov 14, 2023
1 parent 031a00e commit f843437
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def run_test_data(
assert finished

with storage_socket.session_scope() as session:
record = storage_socket.records.get([record_id])[0]
assert record["status"] == end_status
record = session.get(TorsiondriveRecordORM, record_id)
assert record.status == end_status

return record_id

0 comments on commit f843437

Please sign in to comment.