pcp
[Top] [All Lists]

Re: [pcp] pcp updates: python3 qa

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] pcp updates: python3 qa
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue, 28 Jul 2015 11:53:02 +1000
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1126164971.1030907.1438043111780.JavaMail.zimbra@xxxxxxxxxx>
References: <1126164971.1030907.1438043111780.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
On 28/07/15 10:25, Nathan Scott wrote:
...
commit 79873293155d225fcdc1007a3bf7a558372d6794
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Jul 28 10:23:27 2015 +1000

     qa: fix lurking python3 issues in webapi tests

     Test qa/660 doesn't use python at all anymore so no need
     to _notrun if its not found.  Test qa/662 cleverly dodged
     all attempts to invoke python3 by explicitly using python
     directly.  Finally once running python3, a bit of porting
     work was needed to get the test program to run.

Pulled this into my tree.

660 passes now, ta.

662 still fails on vm00 as before

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>