Open Bug 1241282 Opened 8 years ago Updated 8 years ago

Testopia python driver don't work with Python 2.7.

Categories

(Testopia :: API, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: limon.anibal, Assigned: gregaryh)

Details

Attachments

(1 file)

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.
I attached a patch that solve the problems mentioned.
OS: Unspecified → Linux
Hardware: Unspecified → All
Version: unspecified → 3.0
¡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)
@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)
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
If you want to include these changes upstream, feel free to upload a new patch. :)
Flags: needinfo?
Flags: needinfo?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: