[FIX] tests typo in js tests result parsing
authorAntony Lesuisse <al@openerp.com>
Sun, 16 Mar 2014 20:01:35 +0000 (21:01 +0100)
committerAntony Lesuisse <al@openerp.com>
Sun, 16 Mar 2014 20:01:35 +0000 (21:01 +0100)
bzr revid: al@openerp.com-20140316200135-dyyl6u5uas4js90g

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_)