changeset 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 bc71d8c8fde9
children 7d82131e7801
files tests/test_binaryfiles.py
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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']))