view tests/test_binaryfiles.py @ 1404:c79fdd5f615d

cleanup: stop using hasattr Use hg's util.safehasattr when possible, and a getattr trick when not.
author Augie Fackler <raf@durin42.com>
date Tue, 10 May 2016 23:02:37 -0400
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']))