def testCommandFailed(self):
        """
        Ensures that error responses from the server fires an errback with
        MSNCommandFailed.
        """
        id, d = self.client._createIDMapping()
        self.client.lineReceived(id % "201 %s")
        d = self.assertFailure(d, msn.MSNCommandFailed)
        def assertErrorCode(exception):
            self.assertEqual(201, exception.errorCode)
        return d.addCallback(assertErrorCode)
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/test/test_msn.py/NotificationTests.testCommandFailed/swapped operands of `%`