Testopia python driver don't work with Python 2.7.

NEW
Assigned to

Status

Testopia
API
2 years ago
2 years ago

People

(Reporter: limon.anibal, Assigned: Greg Hendricks)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
Created attachment 8710123 [details] [diff] [review]
0001-contrib-drivers-python-testopia.py-Many-improvements.patch

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36

Steps to reproduce:

Try to use contrib/drivers/python/testopia.py with Testopia 2.5 and Python 2.7.


Actual results:

The CookieTransport don't have support for Python 2.7 the xmlrpclib changes also don't support Proxies.
(Reporter)

Comment 1

2 years ago
I attached a patch that solve the problems mentioned.
(Reporter)

Updated

2 years ago
OS: Unspecified → Linux
Hardware: Unspecified → All
Version: unspecified → 3.0

Comment 2

2 years ago
¡Hola Greg!

Could you please review Anibal's patch?

I've also edited https://wiki.mozilla.org/Testopia:README#Installation_on_Linux to include git instructions as he tells me CVS is not working.

My apologies if I've botched something in the process.

¡Gracias!
Alex
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(gregaryh)

Comment 3

2 years ago
@Anibal: is this patch for Testopia 3.0 or 2.5? I don't speak Python at all, but I can commit it if you confirm that it has been tested successfully against 3.0. :)
Flags: needinfo?(gregaryh)
(Reporter)

Comment 4

2 years ago
Hi Frederic,

I tested it against Testopia 2.5 and works, also i added some other methods [1] to the library.

[1] http://git.yoctoproject.org/cgit/cgit.cgi/qa-tools/commit/external?id=e30b3908c3dbfebab7002487b25f3440c732c75c

Comment 5

2 years ago
If you want to include these changes upstream, feel free to upload a new patch. :)

Updated

2 years ago
Flags: needinfo?

Updated

2 years ago
Flags: needinfo?
You need to log in before you can comment on or make changes to this bug.