Changes between Initial Version and Version 3 of Ticket #30071
- Timestamp:
- Jan 1, 2019, 3:25:23 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30071
- Property Component Uncategorized → Database layer (models, ORM)
- Property Owner changed from to
- Property Status new → assigned
-
Ticket #30071 – Description
initial v3 11 11 catch that `KeyError` but misinterpret it as being for the non-default 12 12 db name (which does in fact exist in the dict). 13 14 This change moves the explicit check before the attempt to use the key,15 so that no `KeyError` is ever raised for `DEFAULT_DB_ALIAS`. It adds16 a test for this case, and also adds a test for the case where the17 default db is explicitly set to an empty dict.