mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
5a73bf5843
Summary: This migration allows `./run-tests.py` to run `hgsubversion` tests. Since hgsubversion tests are actually python unittests, we don't care about their output at all, they fail differently. But the behavior of the test suite require us to match whatever the tests prints. We do this later in the stack. Depends on D6719886 Test Plan: - check that tests are runnable at least Reviewers: #sourcecontrol Differential Revision: https://phabricator.intern.facebook.com/D6719890
14 lines
373 B
Python
14 lines
373 B
Python
import test_hgsubversion_util
|
|
|
|
class TestFetchBinaryFiles(test_hgsubversion_util.TestBase):
|
|
stupid_mode_tests = True
|
|
|
|
def test_binaryfiles(self):
|
|
repo = self._load_fixture_and_fetch('binaryfiles.svndump')
|
|
self.assertEqual('cce7fe400d8d', str(repo['tip']))
|
|
|
|
if __name__ == '__main__':
|
|
import silenttestrunner
|
|
silenttestrunner.main(__name__)
|
|
|