view tests/test_binaryfiles.py @ 1384:2d1d05e6e46c

maps: add a load method to base map Since all three map classes (authors, tags, branches) have the exact same logic for their load method, we add a generic one to base map so that each one can use it.
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:58 -0500
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']))