'Prosody is listening on 5269 for servers'

def test_xmpp_s2s(self):

    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    s.connect((TEST_SERVER, 5269))
    s.send("<stream:stream    xmlns:stream='http://etherx.jabber.org/streams'    xmlns='jabber:component:accept'    to='sovereign.local'>")
    data = s.recv(1024)
    s.close()
    self.assertRegexpMatches(data, "from='sovereign.local'")
