Clean up session sharing

* Test cases
* Fix premature session.close when caller
  is managing email backend connection
* Ensure session closed correct in exceptions
* Changelog

(Also fixes bug where JSON serialization errors
didn't respect fail_silently.)
This commit is contained in:
medmunds
2015-11-30 16:19:28 -08:00
parent 4089a35500
commit 3a6e0ebb30
4 changed files with 132 additions and 31 deletions

View File

@@ -1,6 +1,7 @@
from djrill.tests.test_mandrill_send import *
from djrill.tests.test_mandrill_send_template import *
from djrill.tests.test_mandrill_webhook import *
from djrill.tests.test_mandrill_session_sharing import *
from djrill.tests.test_mandrill_subaccounts import *
from djrill.tests.test_mandrill_webhook import *
from djrill.tests.test_mandrill_integration import *