@defer.inlineCallbacks
    def test_rate_with_correct_args(self):
        response = yield self.web.get("rate", {'username': 'nathalie',
                                               'password': 'incorrec',
                                               'to': '06155423'})
        self.assertEqual(response.responseCode, 403)
        self.assertEqual(json.loads(response.value()), u'Authentication failure for username:%s' % 'nathalie')
dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/http/test/test_server.py/RateTestCases.test_rate_with_correct_args/original