view tests/test_binaryfiles.py @ 1421:0094f222c5dc

maps: make readmapfile of RevMap a private instance method Finally we have changed other code to not read rev_map directly. In order to prevent future code accessing rev_map without going through RevMap, change the readmapfile to a private instance method.
author Jun Wu <quark@fb.com>
date Tue, 24 May 2016 00:15:20 +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']))