Closed Bug 1195083 Opened 9 years ago Closed 9 years ago

create a new mozregression.network module

Categories

(Testing :: mozregression, defect)

defect
Not set
normal

Tracking

(firefox43 affected)

RESOLVED FIXED
Tracking Status
firefox43 --- affected

People

(Reporter: parkouss, Assigned: sabergeass, Mentored)

References

Details

Attachments

(1 file)

49 bytes, text/x-github-pull-request
parkouss
: review+
Details | Review
See bug 1195079 for details.

tests must be moved also, and GUI must be updated probably to work.
Hi Julien,

I just follow the bug 1195079 to here, and work like to work on this. 

I think, generally, we just need to put create a new file named network.py and move retry_get, set_http_cache_session, get_http_session, url_links method into it, then rewrite the test and related import part.

Please tell me if anything I missed or misinterpret. Thank you :)
Yep, this is what we need. :)

The tests related to each functions should be moved in a new file test_network.py.

You have to ensure that the tests are still passing after the work - and please check the GUI also as there is some imports that you may need to change in there.
Assignee: nobody → sabergeass
Mentor: j.parkouss
Status: NEW → ASSIGNED
(In reply to Julien Pagès from comment #2)

ok, I will try to commit my first pr tomorrow. If we should I know how to deal with whole bunch of things(move code, change relate, move test,etc). I will take the other pr as well. :)
Attached file PR for bug 1195083
All test has been passed on github, and I also test it locally. It seems like works fine :)
Attachment #8648544 - Flags: review?(j.parkouss)
Comment on attachment 8648544 [details] [review]
PR for bug 1195083

Yep, looks good and seems to work fine for me too. :)

Thanks!
Attachment #8648544 - Flags: review?(j.parkouss) → review+
Landed in https://github.com/mozilla/mozregression/commit/b9398c7a5355d13e01ba9b9966967b6b3fec2d0e.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: