view tests/test_binaryfiles.py @ 1135:5a0da3bab8a2

util: try to load data using json Currently, this will do nothing since no part of hgsubversion writes json but that will happen in a future patch. The goal of this is to move away from pickle completely but fallback to reading pickle if json fails.
author Sean Farley <sean.michael.farley@gmail.com>
date Sat, 15 Feb 2014 01:50:14 -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']))