comparison tests/test_fetch_mappings.py @ 768:13a2137d3c15

test_fetch_mappings: actually test stupid mode in test_author_map_no_author()
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sun, 28 Nov 2010 03:46:51 +0100
parents c2b9e08ecf10
children cc1d4aa3ba41
comparison
equal deleted inserted replaced
767:6c244d3ceaf7 768:13a2137d3c15
64 64
65 def test_author_map_closing_author_stupid(self): 65 def test_author_map_closing_author_stupid(self):
66 self.test_author_map_closing_author(True) 66 self.test_author_map_closing_author(True)
67 67
68 def test_author_map_no_author(self, stupid=False): 68 def test_author_map_no_author(self, stupid=False):
69 self._load_fixture_and_fetch('no-author.svndump') 69 self._load_fixture_and_fetch('no-author.svndump', stupid=stupid)
70 users = set(self.repo[r].user() for r in self.repo) 70 users = set(self.repo[r].user() for r in self.repo)
71 expected_users = ['(no author)@%s' % self.repo.svnmeta().uuid] 71 expected_users = ['(no author)@%s' % self.repo.svnmeta().uuid]
72 self.assertEqual(sorted(users), expected_users) 72 self.assertEqual(sorted(users), expected_users)
73 test_util.rmtree(self.wc_path) 73 test_util.rmtree(self.wc_path)
74 74