/tests/Marathon/Fixtures/default.py
Python | 23 lines | 16 code | 7 blank | 0 comment | 0 complexity | ff224dec65c83a0111f758cdee19f1f6 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- from org.gjt.sp.jedit import jEdit
- from marathon.playback import *
-
- import os
- from java.lang import System
-
- settingsDir = System.getProperty('user.home') + System.getProperty('file.separator') + '.jEditTest'
- class Fixture:
- def start_application(self):
- args = ["-reuseview", "-settings=" + settingsDir]
- jEdit.main(args)
-
- def teardown(self):
- pass
-
- def setup(self):
- self.start_application()
-
- def test_setup(self):
- pass
-
- fixture = Fixture()