====
github.com/progorker =_============
_ __ _ _ ___ __ _ ___ _ _| |_____ _ _
| '_ \ '_/ _ \/ _` / _ \ '_| / / -_) '_|
| .__/_| \___/\__, \___/_| |_\_\___|_|
=|_|===========|___/======================
API References of pyTestor
----- oOo -----
[function] api_testor_escape
==========================================
-------|__/-------------------------
SYNTAX
------------------------------------
def pytestor.api_testor_clean( p_token, p_suite_id ):
# no return
-------|__/-------------------------
USAGE
------------------------------------
$)
import sys
import os
t_testor_dir = '../pyTestor'
sys.path.append( os.path.abspath( t_testor_dir ) )
import pytestor
username = 'mytestor'
password = 'rzutomqahegpnyx'
token = pytestor.api_testor_login( username, password )
print( "\nToken: " + token + "\n" )
suite_code = 'pyTestorTrial'
suite_id = pytestor.api_testor_suite( token, suite_code )
print( "\nSuite ID: " + str(suite_id) + "\n" )
pytestor.api_testor_clean( token, suite_id )
----------------------------
Token: 13181ba66e582842dd222ef9826f1650
Suite ID: 1
----------------------------