view tests/test_binaryfiles.py @ 1322:fd3461f86582

add minimum methods for matcher By changeset 24820:5693c834bcb4 in mercurial crew, it become that matcher object need to implement some common methods, bad(), always(), iseact() and anypats(). So the PrefixMatch class should be implement them.
author Shun-ichi GOTO <shunichi.goto@gmail.com>
date Mon, 13 Apr 2015 22:24:41 +0900
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']))