don't import statemachine
This commit is contained in:
parent
8468332381
commit
aeb7999e6a
2 changed files with 1 additions and 2 deletions
|
@ -524,7 +524,7 @@ class SleekTest(unittest.TestCase):
|
||||||
# Apply closing elements so that we can construct
|
# Apply closing elements so that we can construct
|
||||||
# XML objects for comparison.
|
# XML objects for comparison.
|
||||||
header2 = header + '</stream:stream>'
|
header2 = header + '</stream:stream>'
|
||||||
sent_header2 = sent_header + '</stream:stream>'
|
sent_header2 = sent_header + b'</stream:stream>'
|
||||||
|
|
||||||
xml = self.parse_xml(header2)
|
xml = self.parse_xml(header2)
|
||||||
sent_xml = self.parse_xml(sent_header2)
|
sent_xml = self.parse_xml(sent_header2)
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
from sleekxmpp.xmlstream.jid import JID
|
from sleekxmpp.xmlstream.jid import JID
|
||||||
from sleekxmpp.xmlstream.scheduler import Scheduler
|
from sleekxmpp.xmlstream.scheduler import Scheduler
|
||||||
from sleekxmpp.xmlstream.stanzabase import StanzaBase, ElementBase, ET
|
from sleekxmpp.xmlstream.stanzabase import StanzaBase, ElementBase, ET
|
||||||
from sleekxmpp.xmlstream.statemachine import StateMachine
|
|
||||||
from sleekxmpp.xmlstream.tostring import tostring
|
from sleekxmpp.xmlstream.tostring import tostring
|
||||||
from sleekxmpp.xmlstream.xmlstream import XMLStream, RESPONSE_TIMEOUT
|
from sleekxmpp.xmlstream.xmlstream import XMLStream, RESPONSE_TIMEOUT
|
||||||
from sleekxmpp.xmlstream.xmlstream import RestartStream
|
from sleekxmpp.xmlstream.xmlstream import RestartStream
|
||||||
|
|
Loading…
Reference in a new issue