[FIX] tests typo in js tests result parsing
bzr revid: al@openerp.com-20140316200135-dyyl6u5uas4js90g
This commit is contained in:
parent
97a097dbab
commit
c3ef6eb892
|
@ -233,7 +233,7 @@ class HttpCase(TransactionCase):
|
||||||
if line == "ok":
|
if line == "ok":
|
||||||
break
|
break
|
||||||
if line.startswith("error"):
|
if line.startswith("error"):
|
||||||
line_ = self.line[6:]
|
line_ = ine[6:]
|
||||||
# when error occurs the execution stack may be sent as as JSON
|
# when error occurs the execution stack may be sent as as JSON
|
||||||
try:
|
try:
|
||||||
line_ = json.loads(line_)
|
line_ = json.loads(line_)
|
||||||
|
|
Loading…
Reference in New Issue