mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 01:11:38 -05:00
a bit of DRY - use the column definitions to determine what goes into the dict, and use a `next` iterator rather than a while loop to find the existing service row. Take advantage of dict mutability to avoid needing to refer to the list by index. Also change the tests so if there's an error, the diff is slightly more readable. But not much