view tests/test_binaryfiles.py @ 1506:332e803044e5

commands: fix registrar check 'util' in hgsubversion is a different type from hgutil, which is the one from core hg. This was hidden by the fallback logic, but I'm not sure why it didn't cause errors in the tests. Maybe I ran the original tests against an older hg. This time I've ensured the tests pass against the latest version of hg.
author Durham Goode <durham@fb.com>
date Tue, 23 May 2017 11:08:42 -0700
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']))