[FIX] tests typo in js tests result parsing
[odoo/odoo.git] / openerp / tests / common.py
index 9845d2b..5a7c1db 100644 (file)
@@ -233,7 +233,7 @@ class HttpCase(TransactionCase):
                 if line == "ok":
                     break
                 if line.startswith("error"):
-                    line_ = self.line[6:]
+                    line_ = ine[6:]
                     # when error occurs the execution stack may be sent as as JSON
                     try:
                         line_ = json.loads(line_)