Homepage: https://github.com/testkit/testkit-manager
Version: 3.1.4
Files:
- c3a66c1b17dae4a013b82873d829e206 1396893 testkit-lite_3.1.4.tar.gz
+ d09179596bc5e28e834d2c83b2a5d1d5 1396889 testkit-lite_3.1.4.tar.gz
exec 'from testkitlite.capability.%s import initCapability' % OPTIONS.targetplatform
if OPTIONS.targetplatform.upper().find('TIZEN') >= 0:
if not OPTIONS.debugip:
- raise ValueError("tizen xwalk need a debugip value!")
+ raise ValueError("For tizen xwalk, option --debugip needed!")
webdriver_vars = initCapability('TEST_APP_ID', OPTIONS.debugip)
elif OPTIONS.targetplatform.upper().find('ANDROID') >= 0:
webdriver_vars = initCapability('TEST_APP_NAME')
self.wd_url = DEFAULT_WD_URL
test_app = ''
- appis = ''
if self.target_platform.upper().find('ANDROID') >= 0:
test_app = self.suite_name.replace('-', '_')
self.TE_LOG.debug(
- 'Got ANDROID platform, update the app name to %s' % test_app_name)
+ 'Got ANDROID platform, update the app name to %s' % test_app)
elif self.target_platform.upper().find('TIZEN') >= 0:
test_app = self.appid
else:
break
def __runTests(self, haha=None, kkkk=None):
+ print 'xxx',os.environ['TEST_PLATFORM']
for i_case in self.tests_json['cases']:
i_case['result'] = STR_NOTRUN
if self.set_exetype == "manual":
def talkWithEXE(self, command=None, data=None, recv_timeout=None):
# LOGGER.debug('Start send: %s, %s' % (command, data))
try:
+ if self.exe_socket is None:
+ return (None, None)
self.exe_socket.settimeout(recv_timeout)
self.exe_socket_connect.send(
json.dumps({'COMMAND': command, 'DATA': data}))