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

Unified Diff: tests/project_test.py

Issue 20284003: Simplify cq url match rules and add http urls (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/commit-queue@master
Patch Set: Created 7 years, 5 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 | « projects.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/project_test.py
diff --git a/tests/project_test.py b/tests/project_test.py
index ab3517a700b4a2ca40aa27269be2a475f0727748..5b54fa33038521ee977c2cf08d96e6ee856408a2 100755
--- a/tests/project_test.py
+++ b/tests/project_test.py
@@ -205,22 +205,12 @@ class ProjectTest(TestCase):
'^https\\:\\/\\/src\\.chromium\\.org\\/chrome/trunk/tools(|/.*)$',
# git
- '^http\\:\\/\\/git\\.chromium\\.org\\/chromium\\/tools\\/'
- '([a-z0-9\\-_]+)\\.git' + branch,
- '^https\\:\\/\\/git\\.chromium\\.org\\/chromium\\/tools\\/'
- '([a-z0-9\\-_]+)\\.git' + branch,
- '^http\\:\\/\\/git\\.chromium\\.org\\/git\\/chromium\\/tools\\/'
- '([a-z0-9\\-_]+)' + branch,
- '^https\\:\\/\\/git\\.chromium\\.org\\/git\\/chromium\\/tools\\/'
- '([a-z0-9\\-_]+)' + branch,
- '^http\\:\\/\\/git\\.chromium\\.org\\/git\\/chromium\\/tools\\/'
- '([a-z0-9\\-_]+)\\.git' + branch,
- '^https\\:\\/\\/git\\.chromium\\.org\\/git\\/chromium\\/tools\\/'
- '([a-z0-9\\-_]+)\\.git' + branch,
- '^https\\:\\/\\/chromium\\.googlesource\\.com\\/chromium\\/tools'
- '\\/([a-z0-9\\-_]+)' + branch,
- '^https\\:\\/\\/chromium\\.googlesource\\.com\\/chromium\\/tools'
- '\\/([a-z0-9\\-_]+)\\.git' + branch,
+ '^https?\\:\\/\\/git\\.chromium\\.org\\/git\\/chromium\\/tools\\/'
+ '([a-z0-9\\-_]+)(?:\\.git)?' + branch,
+ '^https?\\:\\/\\/git\\.chromium\\.org\\/chromium\\/tools\\/'
+ '([a-z0-9\\-_]+)(?:\\.git)?' + branch,
+ '^https?\\:\\/\\/chromium\\.googlesource\\.com\\/chromium\\/tools'
+ '\\/([a-z0-9\\-_]+)(?:\\.git)?' + branch,
],
project_bases_verifier.project_bases)
self.assertEqual({}, mapping)
« no previous file with comments | « projects.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698