view tests/test_binaryfiles.py @ 1411:025e849d22f0

maps: add the "clear" method to RevMap This is a part of the bigger plan to get rid of reading or writing rev_map directly without going through the RevMap class. The "clear" method is used in rebuildmeta.
author Jun Wu <quark@fb.com>
date Mon, 09 May 2016 17:48:04 +0100
parents da2c835cd6b8
children
line wrap: on
line source

import test_util

import unittest

class TestFetchBinaryFiles(test_util.TestBase):
    stupid_mode_tests = True

    def test_binaryfiles(self):
        repo = self._load_fixture_and_fetch('binaryfiles.svndump')
        self.assertEqual('cce7fe400d8d', str(repo['tip']))