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

Issue 1011363003: [Password manager Python tests] Switch to Python logging (Closed)

Created:
5 years, 9 months ago by vabr (Chromium)
Modified:
5 years, 9 months ago
Reviewers:
melandory, engedy
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Password manager Python tests] Switch to Python logging This CL makes all output of the tests to go through the Python standard logging: * script-level debugging messages gets logged on a custom SCRIPT_DEBUG level (9) * logs from failed tests get logged at level DEBUG * summary of the tests run gets logged at level INFO This allows to remove the knowledge of how the results are passed on from the test running scripts. In particular, the Google Spreadsheet writing code has been removed. To restore that functionality, the caller of these scripts will need to implement a custom logging handler. That will happen in a separate CL, because the caller is in a separate repository. BUG=468245 Committed: https://crrev.com/afcdc69633e6c77aaaf684fc5594582af504a379 Cr-Commit-Position: refs/heads/master@{#321338}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Expand "iff" #

Patch Set 3 : Added TODO(melandory) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -144 lines) Patch
M components/test/data/password_manager/automated_tests/run_tests.py View 1 2 4 chunks +118 lines, -144 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
vabr (Chromium)
Hi Tanja, Could you please have a look? I'll let you know once I also ...
5 years, 9 months ago (2015-03-18 15:44:16 UTC) #2
melandory
On 2015/03/18 15:44:16, vabr (Chromium) wrote: > Hi Tanja, > > Could you please have ...
5 years, 9 months ago (2015-03-19 10:06:26 UTC) #3
melandory
https://codereview.chromium.org/1011363003/diff/1/components/test/data/password_manager/automated_tests/run_tests.py File components/test/data/password_manager/automated_tests/run_tests.py (right): https://codereview.chromium.org/1011363003/diff/1/components/test/data/password_manager/automated_tests/run_tests.py#newcode105 components/test/data/password_manager/automated_tests/run_tests.py:105: """Returns True iff the test passed.""" s/iff/if https://codereview.chromium.org/1011363003/diff/1/components/test/data/password_manager/automated_tests/run_tests.py#newcode124 components/test/data/password_manager/automated_tests/run_tests.py:124: ...
5 years, 9 months ago (2015-03-19 10:06:37 UTC) #4
vabr (Chromium)
Thanks, Tanja! Comment addressed. Balázs, could you please give me a committer rubber-stamp? (Tanja's nomination ...
5 years, 9 months ago (2015-03-19 10:28:41 UTC) #6
engedy
Rubberstamp LGTM.
5 years, 9 months ago (2015-03-19 10:30:10 UTC) #7
melandory
https://codereview.chromium.org/1011363003/diff/1/components/test/data/password_manager/automated_tests/run_tests.py File components/test/data/password_manager/automated_tests/run_tests.py (right): https://codereview.chromium.org/1011363003/diff/1/components/test/data/password_manager/automated_tests/run_tests.py#newcode198 components/test/data/password_manager/automated_tests/run_tests.py:198: while i < len(runners): I'm thinking maybe we can ...
5 years, 9 months ago (2015-03-19 10:31:08 UTC) #8
vabr (Chromium)
Thanks Balázs and Tanja. Requested TODO added, sending to CQ. Cheers, Vaclav https://codereview.chromium.org/1011363003/diff/1/components/test/data/password_manager/automated_tests/run_tests.py File components/test/data/password_manager/automated_tests/run_tests.py ...
5 years, 9 months ago (2015-03-19 10:40:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011363003/40001
5 years, 9 months ago (2015-03-19 10:40:58 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-19 11:56:09 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 11:56:59 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/afcdc69633e6c77aaaf684fc5594582af504a379
Cr-Commit-Position: refs/heads/master@{#321338}

Powered by Google App Engine
This is Rietveld 408576698