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

Issue 10384099: Readd missing unittests for owners (Closed)

Created:
8 years, 7 months ago by Zachary Kuznia
Modified:
8 years, 7 months ago
Reviewers:
Dirk Pranke, nsylvain
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel
Visibility:
Public.

Description

Readd missing unittests for owners TEST=Run tests/owners_unittest.py Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137041

Patch Set 1 #

Patch Set 2 : Fix failure to track max_count #

Total comments: 1

Patch Set 3 : Fix parent dir search #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -7 lines) Patch
M owners.py View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M tests/owners_unittest.py View 1 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Zachary Kuznia
Hi Nicolas, Could you review this at: https://chromiumcodereview.appspot.com/10384099 These tests were supposed to land with ...
8 years, 7 months ago (2012-05-10 03:37:33 UTC) #1
Dirk Pranke
https://chromiumcodereview.appspot.com/10384099/diff/3001/owners.py File owners.py (right): https://chromiumcodereview.appspot.com/10384099/diff/3001/owners.py#newcode182 owners.py:182: if self._stop_looking(dirname) or dirname == '/': I'm a bit ...
8 years, 7 months ago (2012-05-10 18:26:11 UTC) #2
Zachary Kuznia
This actually is because "dirname = self.os_path.dirname(dirname)" returns "/" for the root directory, not "". ...
8 years, 7 months ago (2012-05-14 04:51:05 UTC) #3
M-A Ruel
The canonical way to implement it is: prev_parent = dirname dirname = self.os_path.dirname(dirname) if prev_parent ...
8 years, 7 months ago (2012-05-14 16:10:19 UTC) #4
Dirk Pranke
There was a reason I set it to be "" and not "/"; unfortunately, I ...
8 years, 7 months ago (2012-05-14 18:58:35 UTC) #5
Dirk Pranke
lgtm for now, though. I don't want to hold this up.
8 years, 7 months ago (2012-05-14 18:58:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zork@chromium.org/10384099/6003
8 years, 7 months ago (2012-05-15 01:07:08 UTC) #7
commit-bot: I haz the power
8 years, 7 months ago (2012-05-15 01:15:45 UTC) #8
Change committed as 137041

Powered by Google App Engine
This is Rietveld 408576698