barbican/barbican/tests/model
Dave McCowan 9744f80186 Handle SQL Integrity Error More Generically
SQL command with IntegrityError when any number of
constraints fail to pass.  These include checking for
duplicates, checking for not null, or foreign key checks.

Barbican was reporting these all as duplicates which can confuse
debugging.  This patch reports the error more accurately as an
SQL constraint check failure.

Change-Id: I7043fe01f949326b1e38c8f320ece8418f36acc4
Co-Authored-By: Dave McCowan <dmccowan@cisco.com>
Closes-bug: #1489457
2017-03-06 15:48:40 +00:00
..
repositories Handle SQL Integrity Error More Generically 2017-03-06 15:48:40 +00:00
__init__.py Added crypto plugin encryption to Secrets post. 2013-05-10 03:08:06 -05:00
test_models.py using utcnow instead of now in barbican unit tests 2017-01-19 20:01:47 +08:00