view tests/test_binaryfiles.py @ 1148:91d685418490

util: fallback to raw string reading if pickle fails This is the next step for getting rid of all the random read and write functions throughout hgsubversion.
author Sean Farley <sean.michael.farley@gmail.com>
date Tue, 18 Feb 2014 17:19:29 -0600
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']))