# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1376084753 -7200 # Node ID da2c835cd6b82e1107f2159d46dcd9de1b47c4b5 # Parent bc71d8c8fde9c42151f7600f3a94f47e05b182cc test_binaryfiles: use stupid mode metaclass diff --git a/tests/test_binaryfiles.py b/tests/test_binaryfiles.py --- a/tests/test_binaryfiles.py +++ b/tests/test_binaryfiles.py @@ -3,9 +3,8 @@ import test_util import unittest class TestFetchBinaryFiles(test_util.TestBase): - def test_binaryfiles(self, stupid=False): - repo = self._load_fixture_and_fetch('binaryfiles.svndump', stupid=stupid) - self.assertEqual('cce7fe400d8d', str(repo['tip'])) + stupid_mode_tests = True - def test_binaryfiles_stupid(self): - self.test_binaryfiles(True) + def test_binaryfiles(self): + repo = self._load_fixture_and_fetch('binaryfiles.svndump') + self.assertEqual('cce7fe400d8d', str(repo['tip']))