comparison tests/test_binaryfiles.py @ 1106:5cb6c95e0283 stable

Merge default and stable so I can do stable releases again.
author Augie Fackler <raf@durin42.com>
date Tue, 11 Feb 2014 12:48:49 -0500
parents da2c835cd6b8
children
comparison
equal deleted inserted replaced
1020:b5b1fce26f1f 1106:5cb6c95e0283
1 import test_util 1 import test_util
2 2
3 import unittest 3 import unittest
4 4
5 class TestFetchBinaryFiles(test_util.TestBase): 5 class TestFetchBinaryFiles(test_util.TestBase):
6 def test_binaryfiles(self, stupid=False): 6 stupid_mode_tests = True
7 repo = self._load_fixture_and_fetch('binaryfiles.svndump', stupid=stupid) 7
8 def test_binaryfiles(self):
9 repo = self._load_fixture_and_fetch('binaryfiles.svndump')
8 self.assertEqual('cce7fe400d8d', str(repo['tip'])) 10 self.assertEqual('cce7fe400d8d', str(repo['tip']))
9
10 def test_binaryfiles_stupid(self):
11 self.test_binaryfiles(True)
12
13 def suite():
14 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestFetchBinaryFiles),
15 ]
16 return unittest.TestSuite(all_tests)