Skip to content

Commit

Permalink
remove rowcount assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
natthan-pigoux committed Apr 2, 2024
1 parent c5084f1 commit 7eb19d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions diracx-db/src/diracx/db/sql/sandbox_metadata/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,4 @@ async def unassign_sandboxes_to_entities(
.where(sb_SandBoxes.SBId.in_(sb_ids))
.values(Assigned=False)
)
result = await self.conn.execute(unassign_stmt)
assert result.rowcount == 1
await self.conn.execute(unassign_stmt)

0 comments on commit 7eb19d1

Please sign in to comment.