'Test streamStart to fill the appropriate attributes from the
stream header for a version with only one digit.'

def test_streamBadVersionOneDigit(self):

    xs = self.xmlstream
    xs.makeConnection(proto_helpers.StringTransport())
    xs.dataReceived("<stream:stream    xmlns='jabber:client'    xmlns:stream='http://etherx.jabber.org/streams'    from='example.com'    id='12345'    version='1'>")
    self.assertEqual((0, 0), xs.version)
