Commits

Dan Villiom Podlaski Christiansen committed 23992b4

test_push_eol: use stupid mode metaclass

Comments (0)

Files changed (1)

tests/test_push_eol.py

 
 class TestPushEol(test_util.TestBase):
     obsolete_mode_tests = True
+    stupid_mode_tests = True
 
     def setUp(self):
         test_util.TestBase.setUp(self)
         self._load_fixture_and_fetch('emptyrepo.svndump')
 
-    def _test_push_dirs(self, stupid):
+    def test_push_dirs(self):
         changes = [
             # Root files with LF, CRLF and mixed EOL
             ('lf', 'lf', 'a\nb\n\nc'),
             ('mixed', 'mixed', 'a\r\nb\n\r\nc\nd'),
             ]
         self.commitchanges(changes)
-        self.pushrevisions(stupid)
+        self.pushrevisions()
         self.assertchanges(changes, self.repo['tip'])
 
         changes = [
             ('mixed', 'mixed', 'a\r\nb\n\r\nc\nd\r\na\r\nb\n\r\nc\nd'),
             ]
         self.commitchanges(changes)
-        self.pushrevisions(stupid)
+        self.pushrevisions()
         self.assertchanges(changes, self.repo['tip'])
-
-    def test_push_dirs(self):
-        self._test_push_dirs(False)
-
-    def test_push_dirs_stupid(self):
-        self._test_push_dirs(True)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.