'Test that closing the backend while the SMTP server is stopped doesn\'t
raise an exception.'

def test_server_stopped(self):

    backend = smtp.EmailBackend(username=u'', password=u'')
    backend.open()
    self.server.stop()
    try:
        backend.close()
    except Exception as e:
        self.fail((u'close()    unexpectedly    raised    an    exception:    %s' % e))
