Changes: Applifed stopped during functional tests

RevBy: Olli Leppanen
pull/1/head
Juha Lintula 15 years ago
parent 1efcadaac3
commit 5f7cb5a36b

@ -74,6 +74,7 @@ def check_prerequisites():
class launcher_tests (unittest.TestCase): class launcher_tests (unittest.TestCase):
def setUp(self): def setUp(self):
os.system('initctl stop xsession/applifed')
if get_pid('applauncherd') == None: if get_pid('applauncherd') == None:
os.system('initctl start xsession/applauncherd') os.system('initctl start xsession/applauncherd')
time.sleep(5) time.sleep(5)
@ -86,6 +87,7 @@ class launcher_tests (unittest.TestCase):
def tearDown(self): def tearDown(self):
#teardown here #teardown here
debug("Executing TearDown") debug("Executing TearDown")
os.system('initctl start xsession/applifed')
if get_pid('applauncherd') == None: if get_pid('applauncherd') == None:
os.system('initctl start xsession/applauncherd') os.system('initctl start xsession/applauncherd')
time.sleep(5) time.sleep(5)

Loading…
Cancel
Save