'Test that the string "ESMTP" does not appear in the SMTP server\'s
greeting since that string strongly suggests the presence of support
for various SMTP extensions which are not supported by L{smtp.SMTP}.'

def testSMTPGreetingNotExtended(self):

    s = smtp.SMTP()
    t = StringTransport()
    s.makeConnection(t)
    s.connectionLost(error.ConnectionDone())
    self.assertNotIn('ESMTP', t.value())
