Mercurial > hgsubversion
comparison tests/test_push_dirs.py @ 1071:56979160b3f7
test_push_dirs: use stupid mode metaclass
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Fri, 09 Aug 2013 23:45:59 +0200 |
parents | 2d7398fffd0d |
children |
comparison
equal
deleted
inserted
replaced
1070:6aad12ea6d9f | 1071:56979160b3f7 |
---|---|
1 import test_util | 1 import test_util |
2 | 2 |
3 import unittest | 3 import unittest |
4 | 4 |
5 class TestPushDirectories(test_util.TestBase): | 5 class TestPushDirectories(test_util.TestBase): |
6 stupid_mode_tests = True | |
6 obsolete_mode_tests = True | 7 obsolete_mode_tests = True |
7 | 8 |
8 def test_push_dirs(self): | 9 def test_push_dirs(self): |
9 repo_path = self.load_and_fetch('emptyrepo.svndump')[1] | 10 repo_path = self.load_and_fetch('emptyrepo.svndump')[1] |
10 | 11 |
84 | 85 |
85 def test_push_single_dir_change_in_subdir(self): | 86 def test_push_single_dir_change_in_subdir(self): |
86 # Tests simple pushing from default branch to a single dir repo | 87 # Tests simple pushing from default branch to a single dir repo |
87 # Changes a file in a subdir (regression). | 88 # Changes a file in a subdir (regression). |
88 repo, repo_path = self.load_and_fetch('branch_from_tag.svndump', | 89 repo, repo_path = self.load_and_fetch('branch_from_tag.svndump', |
89 stupid=False, | |
90 layout='single', | 90 layout='single', |
91 subdir='tags') | 91 subdir='tags') |
92 changes = [('tag_r3/alpha', 'tag_r3/alpha', 'foo'), | 92 changes = [('tag_r3/alpha', 'tag_r3/alpha', 'foo'), |
93 ('tag_r3/new', 'tag_r3/new', 'foo'), | 93 ('tag_r3/new', 'tag_r3/new', 'foo'), |
94 ('new_dir/new', 'new_dir/new', 'foo'), | 94 ('new_dir/new', 'new_dir/new', 'foo'), |