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'
|