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

Unified Diff: tests/checkout_test.py

Issue 6020010: Destroy svn_utils.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/commit-queue
Patch Set: Rebase against trunk and include a fix to import checkout directly Created 10 years 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 | « svn_utils.py ('k') | tests/svn_utils_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/checkout_test.py
diff --git a/tests/checkout_test.py b/tests/checkout_test.py
index ca4d4f4c780556f53769e96ee773133cca818009..ed06fb9fd3aab4f8911ceb26abb5f437d3743e34 100755
--- a/tests/checkout_test.py
+++ b/tests/checkout_test.py
@@ -63,10 +63,27 @@ class FakeRepos(fake_repos.FakeReposBase):
assert os.path.isdir(os.path.join(self.svn_root, '.svn'))
fs = {}
fs['trunk/origin'] = 'svn@1'
- fs['trunk/codereview.settings'] = read(
- os.path.join(ROOT_DIR, 'svn_utils_test_data', 'codereview.settings'))
- fs['trunk/svn_utils_test.txt'] = read(
- os.path.join(ROOT_DIR, 'svn_utils_test_data', 'svn_utils_test.txt'))
+ fs['trunk/codereview.settings'] = (
+ '# Test data\n'
+ 'bar: pouet\n')
+ fs['trunk/svn_utils_test.txt'] = (
+ 'a\n'
+ 'bb\n'
+ 'ccc\n'
+ 'dd\n'
+ 'e\n'
+ 'ff\n'
+ 'ggg\n'
+ 'hh\n'
+ 'i\n'
+ 'jj\n'
+ 'kkk\n'
+ 'll\n'
+ 'm\n'
+ 'nn\n'
+ 'ooo\n'
+ 'pp\n'
+ 'q\n')
self._commit_svn(fs)
fs['trunk/origin'] = 'svn@2'
fs['trunk/extra'] = 'dummy'
« no previous file with comments | « svn_utils.py ('k') | tests/svn_utils_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698