pcp
[Top] [All Lists]

qa/662 failing with python2.7

To: PCP <pcp@xxxxxxxxxxx>
Subject: qa/662 failing with python2.7
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue, 28 Jul 2015 08:32:24 +1000
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Does qa/662 need a notrun guard for python2?

If "no", can anyone shed light on the failure below?

kenj@vm00:~/src/pcp/qa$ python --version
Python 2.7.3
kenj@vm00:~/src/pcp/qa$ vi 662
kenj@vm00:~/src/pcp/qa$ 662
QA output created by 662

=== IPv4 pmwebd testing via python ===
Traceback (most recent call last):
  File "src/test_webapi.py", line 34, in <module>
    resp = req.json()
AttributeError: 'Response' object has no attribute 'json'

=== IPv6 pmwebd testing via python ===
Traceback (most recent call last):
  File "src/test_webapi.py", line 34, in <module>
    resp = req.json()
AttributeError: 'Response' object has no attribute 'json'

<Prev in Thread] Current Thread [Next in Thread>