comparison tests/test_binaryfiles.py @ 1059:da2c835cd6b8

test_binaryfiles: use stupid mode metaclass
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 09 Aug 2013 23:45:53 +0200
parents d741f536f23a
children
comparison
equal deleted inserted replaced
1058:bc71d8c8fde9 1059:da2c835cd6b8
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)