Interact with the Test server. Create, Retrieve, Update, and Delete
tests. Also upload and download the associated files.
|
|
__init__(self,
username=None,
base_url=None,
api_version=1)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
|
create(self,
test)
Create a test. |
|
|
|
|
retrieve(self,
test_ids=None,
products=None,
components=None,
priorities=None,
tags=None,
not_products=(),
not_components=(),
not_tags=())
Retrieve tests based on some limiting criteria. |
|
|
|
|
update(self,
test)
Update files and metadata for a test. |
|
|
|
|
delete(self,
test)
Delete a test metadata and files. |
|
|
|
|
download(self,
test,
directory=None,
overwrite=True)
Download and extract the files associated with test. |
|
|
|
|
upload(self,
test,
directory=None)
Upload a directory to the server. |
|
|
|
|
| _setTestDir(self,
test,
directory=None) |
|
|
|
|
_setSharedFiles(self,
shared_files)
Upload shared files to server. |
|
|
|
|
_getTestDir(self,
test,
directory=None,
overwrite=True)
Download the zipped test file and extract it to a directory. |
|
|
|
|
_getSharedFiles(self,
shared_files,
overwrite=False)
Download the shared files. |
|
|
|
Inherited from _BaseClient:
get,
getResourceURI,
item_uri,
list2str,
patch,
post,
put,
safename
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|