Custom qase client
Project description
custom-qase-client
This is an unofficial client QASE
Official client: https://github.com/qase-tms/qase-python
API QASE: https://developers.qase.io/reference/
Guide: https://developers.qase.io/docs
How to work
First, get api token from page https://app.qase.io/user/api/token (See guide)
For body and params use dict type, like in requests library
client = QaseClient(api_token='YOUR_API_TOKEN')
code = 'TEST_CODE' #projecet code
# create project
body = {'title': f'Title test project', 'code': code, 'access': 'all'}
client.projects.create(body=body)
# create suite
body = {"title": "test suit"}
client.suites.create(code=code, body=body)
# create case
body = {"title": "test case"}
client.cases.create(code=code, body=body)
# create test run
body = {"title": "test run"}
client.runs.create(code=code, body=body)
# upload attachment
client.attachments.upload(code, "./cat.jpeg")
# finish test run
client.runs.complete(code=code, uuid=1)
In work ...
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cqase-client-0.1.0.tar.gz
(10.5 kB
view hashes)
Built Distribution
Close
Hashes for cqase_client-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebd7d0ee6b93f7587463df6cbd255395b271c5faed892ec7188e13fabbacbca1 |
|
MD5 | 1d718c6d564b79a3abbd8f1ea80f8066 |
|
BLAKE2b-256 | 934551c5df34aeeca6cc8f1c96bba32203de80c7011fc02c182980d436da196c |