e2e: the port to use should be an int, not a string

This commit is contained in:
louiz’
2016-10-12 21:00:05 +02:00
parent 827a1eedf8
commit c3a7cd3627
+1 -1
View File
@@ -101,7 +101,7 @@ class XMPPComponent(slixmpp.BaseXMPP):
@asyncio.coroutine @asyncio.coroutine
def accept_routine(self): def accept_routine(self):
self.accepting_server = yield from self.loop.create_server(lambda: self, self.accepting_server = yield from self.loop.create_server(lambda: self,
"127.0.0.1", "8811", reuse_address=True) "127.0.0.1", 8811, reuse_address=True)
def check_stanza_against_all_expected_xpaths(self): def check_stanza_against_all_expected_xpaths(self):
pass pass