'Test receiving a challenge message with illegal padding.'

def test_onChallengeIllegalPadding(self):

    d = self.init.start()
    challenge = domish.Element((NS_XMPP_SASL, 'challenge'))
    challenge.addContent(u'bXkg=Y2hhbGxlbmdl')
    self.init.onChallenge(challenge)
    self.assertFailure(d, sasl.SASLIncorrectEncodingError)
    return d
