Polarion client for Python
Project description
python-polarion
This package allows access to a Polarion server.
Installation
pip install polarion
Getting started
Creating the Polarion client and getting workitems, test runs or plans:
from polarion import polarion
client = polarion.Polarion('http://example.com/polarion', 'user', 'password')
project = client.getProject('Python')
workitem = project.getWorkitem('PYTH-510')
run = project.getTestRun('SWQ-0001')
plan = project.getPlan('00002')
Modifying workitems:
workitem.setDescription('Some description..')
workitem.addComment('test comment', 'sent from Python')
workitem.addHyperlink('google.com', workitem.HyperlinkRoles.EXTERNAL_REF)
Or test run results:
run = project.getTestRun('SWQ-0001')
run.records[0].setResult(record.Record.ResultType.PASSED, ' Comment with test result')
Adding workitems to a plan:
plan.addToPlan(workitem)
plan.removeFromPlan(workitem)
More examples to be found in the quick start section of the documentation. Go to the documentation
Known issues or missing features
- No way of knowing the test run possible statuses.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file polarion-0.3.2.tar.gz.
File metadata
- Download URL: polarion-0.3.2.tar.gz
- Upload date:
- Size: 25.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fab9b601dca1e9a44eb22ebfdf69f5f905971cae1d2ef8fd0fb888ad807ba57f
|
|
| MD5 |
d58a1d88084d1f724842ce5e24ce003d
|
|
| BLAKE2b-256 |
f03cdde9b565d1f3fb158075b65fd11354d2122302a244ff4ecccd6c81713d8d
|
File details
Details for the file polarion-0.3.2-py3-none-any.whl.
File metadata
- Download URL: polarion-0.3.2-py3-none-any.whl
- Upload date:
- Size: 34.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e0e9d457a35c904b48fd71b904d1d9afb736d71645a6d24bf156951239df578
|
|
| MD5 |
13b4b7b61b72a23bc8edb7a25c511c84
|
|
| BLAKE2b-256 |
a08cbe2496cd32282dce31dc2222914e1b0fc623911a99311fe0795ac4a847ca
|