<s> from django . core . mail import backends <EOL> from django . test import TestCase <EOL> from . test_backends import ErrorRaisingBackend <EOL> from . . connections import connections <EOL> class ConnectionTest ( TestCase ) : <EOL> def test_get_connection ( self ) : <EOL> self . assertTrue ( isinstance ( connections [ '<STR_LIT:error>' ] , ErrorRaisingBackend ) ) <EOL> self . assertTrue ( isinstance ( connections [ '<STR_LIT>' ] , backends . locmem . EmailBackend ) ) </s>
