Mercurial > hgsubversion
comparison tests/test_fetch_symlinks.py @ 851:9ce00cb1d676
Merge alternate tunnel schemes.
| author | Augie Fackler <durin42@gmail.com> |
|---|---|
| date | Sat, 25 Feb 2012 14:51:22 -0600 |
| parents | 312b37bc5e20 |
| children | 1d07e86f5797 |
comparison
equal
deleted
inserted
replaced
| 850:d3bc067c0f72 | 851:9ce00cb1d676 |
|---|---|
| 37 6: { | 37 6: { |
| 38 'linka3': 'a', | 38 'linka3': 'a', |
| 39 'linka4': 'link to this', | 39 'linka4': 'link to this', |
| 40 }, | 40 }, |
| 41 } | 41 } |
| 42 | 42 |
| 43 for rev in repo: | 43 for rev in repo: |
| 44 ctx = repo[rev] | 44 ctx = repo[rev] |
| 45 for f in ctx.manifest(): | 45 for f in ctx.manifest(): |
| 46 self.assertEqual(f in links[rev], 'l' in ctx[f].flags()) | 46 self.assertEqual(f in links[rev], 'l' in ctx[f].flags()) |
| 47 if f in links[rev]: | 47 if f in links[rev]: |
| 51 | 51 |
| 52 def test_symlinks_stupid(self): | 52 def test_symlinks_stupid(self): |
| 53 self.test_symlinks(True) | 53 self.test_symlinks(True) |
| 54 | 54 |
| 55 def suite(): | 55 def suite(): |
| 56 all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchSymlinks), | 56 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestFetchSymlinks), |
| 57 ] | 57 ] |
| 58 return unittest.TestSuite(all) | 58 return unittest.TestSuite(all_tests) |
