>                   self.dialect.do_execute(
>           raise ex.with_traceback(None)
E           psycopg.errors.ObjectInUse: database "bulkmailer_test_4f72ea09" is being accessed by other users
E           DETAIL:  There is 1 other session using the database.
>           c.execute(text(f'DROP DATABASE IF EXISTS "{TEST_DB_NAME}"'))
>           raise ex.with_traceback(None)
E           sqlalchemy.exc.OperationalError: (psycopg.errors.ObjectInUse) database "bulkmailer_test_4f72ea09" is being accessed by other users
E           DETAIL:  There is 1 other session using the database.
E           [SQL: DROP DATABASE IF EXISTS "bulkmailer_test_4f72ea09"]
E           (Background on this error at: https://sqlalche.me/e/20/e3q8)
        assert out["ok"] is True and out["status"] == "sent"
        assert "Invoice_INV-TEST-0001.pdf" in raw
>       pdf_part = next(p for p in msg.iter_attachments()
E       StopIteration
>       assert [o["status"] for o in outs] == ["retrying", "retrying", "retrying",
E       AssertionError: assert ['retrying', ...'rescheduled'] == ['retrying', ...'dead_letter']
E         
E         At index 1 diff: 'rescheduled' != 'retrying'
E         Use -v to get more diff
>       assert out["ok"] is False and out["status"] == "perm_failed"
E       AssertionError: assert (False is False and 'retrying' == 'perm_failed'
E         
E         - perm_failed
E         + retrying)
