Mercurial > hgsubversion
view tests/test_binaryfiles.py @ 1454:5d4888f3cd12
util: add a fileproperty helper method
The code base uses the pattern that syncs a property with disk frequently.
Let's have a helper method for declaring this kind of property.
author | Jun Wu <quark@fb.com> |
---|---|
date | Mon, 13 Jun 2016 16:59:51 +0100 |
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']))