@defer.inlineCallbacks
    def test_balance_with_correct_args(self):
        response = yield self.web.get("balance", {'username': 'nathalie',
                                               'password': 'incorrec'})
        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/BalanceTestCases.test_balance_with_correct_args/original