Changes between Initial Version and Version 3 of Ticket #30071


Ignore:
Timestamp:
Jan 1, 2019, 3:25:23 PM (6 years ago)
Author:
Benjy Weinberger
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30071

    • Property Component UncategorizedDatabase layer (models, ORM)
    • Property Owner changed from nobody to Benjy Weinberger
    • Property Status newassigned
  • Ticket #30071 – Description

    initial v3  
    1111catch that `KeyError` but misinterpret it as being for the non-default
    1212db 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 adds
    16 a test for this case, and also adds a test for the case where the
    17 default db is explicitly set to an empty dict.
Back to Top