diff 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
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']))