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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater_unittest.py

Issue 2650793004: When getting CC list during test import, ignore non-email-addresses. (Closed)
Patch Set: Rebased Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater_unittest.py
index 6df746fe1b9954b3ec3738d27044465353303718..2cd16a97543e861fb8ab2875f486edf7ae60211b 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater_unittest.py
@@ -20,13 +20,13 @@ class DepsUpdaterTest(unittest.TestCase):
'some/non-test.file',
]
directory_to_owner = {
- 'foo/bar': 'me@gmail.com',
- 'foo/baz': 'you@gmail.com',
+ 'foo/bar': 'someone@gmail.com',
+ 'foo/baz': 'not an email address',
'foo/bat': 'noone@gmail.com',
}
self.assertEqual(
updater.generate_email_list(changed_files, directory_to_owner),
- ['me@gmail.com', 'you@gmail.com'])
+ ['someone@gmail.com'])
def test_parse_directory_owners(self):
updater = DepsUpdater(MockHost())
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698