PageRenderTime 29ms CodeModel.GetById 24ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/Marathon/Fixtures/default.py

#
Python | 23 lines | 16 code | 7 blank | 0 comment | 0 complexity | ff224dec65c83a0111f758cdee19f1f6 MD5 | raw file
 1from org.gjt.sp.jedit import jEdit
 2from marathon.playback import *
 3
 4import os
 5from java.lang import System
 6
 7settingsDir = System.getProperty('user.home') + System.getProperty('file.separator') + '.jEditTest'
 8
 9class Fixture:
10	def start_application(self):
11		args = ["-reuseview", "-settings=" + settingsDir]
12		jEdit.main(args)
13		
14	def teardown(self):
15		pass
16
17	def setup(self):
18		self.start_application()
19
20	def test_setup(self):
21		pass
22
23fixture = Fixture()