19 lines
468 B
Python
19 lines
468 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
# This file contains hook functions to run as the .feature file is executed.
|
||
|
|
||
|
sys.path.append(os.path.join(os.path.dirname(__file__), "../../../src/"))
|
||
|
|
||
|
_statusDektopAppName = "nim_status_client"
|
||
|
_appClosureTimeout = 2 #[seconds]
|
||
|
|
||
|
@OnScenarioStart
|
||
|
def hook(context):
|
||
|
startApplication(_statusDektopAppName)
|
||
|
context.userData = {}
|
||
|
|
||
|
@OnScenarioEnd
|
||
|
def hook(context):
|
||
|
currentApplicationContext().detach()
|
||
|
snooze(_appClosureTimeout)
|
||
|
|