Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Issue 386423002: Allow the test bots to easily run the password manager python tests. (Closed)

Created:
6 years, 5 months ago by rchtara
Modified:
6 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Allow the test bots to easily run the password manager python tests. Until now, setting up password manager python tests is complicated and doesn't fit the requirement of the test bots. This cl allows to make running and configuring of the tests much easier for the bots. BUG=393531 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283806

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 11

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -2 lines) Patch
M components/test/data/password_manager/environment.py View 1 chunk +3 lines, -0 lines 0 comments Download
A components/test/data/password_manager/run_tests.py View 1 2 3 4 5 6 7 1 chunk +100 lines, -0 lines 0 comments Download
M components/test/data/password_manager/tests.py View 1 chunk +2 lines, -2 lines 0 comments Download
M components/test/data/password_manager/websitetest.py View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
rchtara
Hi, Could you please review this cl? Thanks a lot Riadh
6 years, 5 months ago (2014-07-14 10:43:33 UTC) #1
rchtara
Hi, Could you please review this cl? Thanks a lot Riadh
6 years, 5 months ago (2014-07-14 10:43:34 UTC) #2
vabr (Chromium)
+sergiyb, because there is one question for you in my comments, Sergiy (look for "@sergiyb:"). ...
6 years, 5 months ago (2014-07-14 12:36:10 UTC) #3
rchtara
Hi, Could you please fix this cl again? Thanks a lot Riadh
6 years, 5 months ago (2014-07-16 07:55:01 UTC) #4
rchtara
https://codereview.chromium.org/386423002/diff/1/components/test/data/password_manager/run_tests.py File components/test/data/password_manager/run_tests.py (right): https://codereview.chromium.org/386423002/diff/1/components/test/data/password_manager/run_tests.py#newcode42 components/test/data/password_manager/run_tests.py:42: results = tempfile.NamedTemporaryFile(dir=os.path.join(tempfile.gettempdir()), On 2014/07/14 12:36:09, vabr (Chromium) wrote: ...
6 years, 5 months ago (2014-07-16 07:55:11 UTC) #5
vabr (Chromium)
Thanks, Riadh! A couple of more comments below. Cheers, Vaclav https://codereview.chromium.org/386423002/diff/60001/components/test/data/password_manager/run_tests.py File components/test/data/password_manager/run_tests.py (right): https://codereview.chromium.org/386423002/diff/60001/components/test/data/password_manager/run_tests.py#newcode46 ...
6 years, 5 months ago (2014-07-16 08:48:44 UTC) #6
vabr (Chromium)
Hi Sergiy, > https://codereview.chromium.org/386423002/diff/1/components/test/data/password_manager/run_tests.py#newcode61 > components/test/data/password_manager/run_tests.py:61: os.system("timeout 300 > python %s %s --chrome-path %s --chromedriver-path ...
6 years, 5 months ago (2014-07-16 08:49:33 UTC) #7
Sergiy Byelozyorov
https://codereview.chromium.org/386423002/diff/1/components/test/data/password_manager/run_tests.py File components/test/data/password_manager/run_tests.py (right): https://codereview.chromium.org/386423002/diff/1/components/test/data/password_manager/run_tests.py#newcode61 components/test/data/password_manager/run_tests.py:61: os.system("timeout 300 python %s %s --chrome-path %s --chromedriver-path " ...
6 years, 5 months ago (2014-07-16 12:22:43 UTC) #8
rchtara
https://codereview.chromium.org/386423002/diff/1/components/test/data/password_manager/run_tests.py File components/test/data/password_manager/run_tests.py (right): https://codereview.chromium.org/386423002/diff/1/components/test/data/password_manager/run_tests.py#newcode61 components/test/data/password_manager/run_tests.py:61: os.system("timeout 300 python %s %s --chrome-path %s --chromedriver-path " ...
6 years, 5 months ago (2014-07-16 16:31:59 UTC) #9
vabr (Chromium)
Thanks, Riadh (and Sergiy for response). One question: How does the run_tests.py script indicate the ...
6 years, 5 months ago (2014-07-17 09:15:44 UTC) #10
rchtara
Hi, Last check please :) Cheers Riadh
6 years, 5 months ago (2014-07-17 14:05:12 UTC) #11
rchtara
https://codereview.chromium.org/386423002/diff/80001/components/test/data/password_manager/run_tests.py File components/test/data/password_manager/run_tests.py (right): https://codereview.chromium.org/386423002/diff/80001/components/test/data/password_manager/run_tests.py#newcode55 components/test/data/password_manager/run_tests.py:55: # not related to the password manager (e.g., unexpected ...
6 years, 5 months ago (2014-07-17 14:05:18 UTC) #12
vabr (Chromium)
Thanks, Riadh, Still LGTM, but you did not answer my previous question: > How does ...
6 years, 5 months ago (2014-07-17 14:13:42 UTC) #13
rchtara
Ok. Great Thanks for the review Riadh https://codereview.chromium.org/386423002/diff/120001/components/test/data/password_manager/run_tests.py File components/test/data/password_manager/run_tests.py (right): https://codereview.chromium.org/386423002/diff/120001/components/test/data/password_manager/run_tests.py#newcode54 components/test/data/password_manager/run_tests.py:54: # The ...
6 years, 5 months ago (2014-07-17 14:29:33 UTC) #14
rchtara
The CQ bit was checked by rchtara@chromium.org
6 years, 5 months ago (2014-07-17 14:29:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rchtara@chromium.org/386423002/110005
6 years, 5 months ago (2014-07-17 14:30:12 UTC) #16
vabr (Chromium)
Hi Riadh, I'm going to ask my question here for the third time, in a ...
6 years, 5 months ago (2014-07-17 15:38:10 UTC) #17
rchtara
The CQ bit was unchecked by rchtara@chromium.org
6 years, 5 months ago (2014-07-17 15:50:35 UTC) #18
rchtara
Hi, Sorry, I totally forgot about it. The script just create an xml file containing ...
6 years, 5 months ago (2014-07-17 15:52:09 UTC) #19
vabr (Chromium)
On 2014/07/17 15:52:09, rchtara wrote: > Hi, > Sorry, > I totally forgot about it. ...
6 years, 5 months ago (2014-07-17 16:19:18 UTC) #20
rchtara
The CQ bit was checked by rchtara@chromium.org
6 years, 5 months ago (2014-07-17 16:23:56 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rchtara@chromium.org/386423002/110005
6 years, 5 months ago (2014-07-17 16:25:00 UTC) #22
rchtara
I meant to something like this: import urllib2, urllib data=[('xml', xml_data)] data=urllib.urlencode(mydata) path='http://dashboard/' req=urllib2.Request(path, data) ...
6 years, 5 months ago (2014-07-17 16:33:08 UTC) #23
commit-bot: I haz the power
Change committed as 283806
6 years, 5 months ago (2014-07-17 17:45:04 UTC) #24
rchtara
Hi, I made the change you asked me to do in the discussion with aaron. ...
6 years, 5 months ago (2014-07-18 15:15:02 UTC) #25
vabr (Chromium)
On 2014/07/18 15:15:02, rchtara wrote: > Hi, > I made the change you asked me ...
6 years, 5 months ago (2014-07-21 08:41:21 UTC) #26
rchtara
6 years, 5 months ago (2014-07-21 08:49:37 UTC) #27
Message was sent while issue was closed.
Yes, patch 8 is one that was committed here.
I'm going to remove patch 9 and patch 10.
Thanks
Cheers
Riadh

Powered by Google App Engine
This is Rietveld 408576698