view tests/test_binaryfiles.py @ 1491:8937f19586fe

test_revmap_migrate: restore revmap class in tearDown The test has an unwanted side effect: changing default revmap class. This patch adds a tearDown method to revert the side effect.
author Jun Wu <quark@fb.com>
date Tue, 26 Jul 2016 11:38:23 +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']))