Mercurial > hgsubversion
diff tests/test_fetch_command.py @ 237:c90cfa665b81
Cope with date-less revisions.
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 08 Apr 2009 13:07:23 +0200 |
parents | a360ddc97719 |
children | f8e9b74df403 |
line wrap: on
line diff
--- a/tests/test_fetch_command.py +++ b/tests/test_fetch_command.py @@ -8,6 +8,12 @@ import test_util class TestBasicRepoLayout(test_util.TestBase): + + def test_no_dates(self): + repo = self._load_fixture_and_fetch('test_no_dates.svndump') + self.assertEqual(repo[0].date(), (-3600.0, -3600)) + self.assertEqual(repo[1].date(), repo[2].date()) + def test_fresh_fetch_single_rev(self): repo = self._load_fixture_and_fetch('single_rev.svndump') self.assertEqual(node.hex(repo['tip'].node()),