pytest-adf
ALPHA RELEASE
pytest-adf is a pytest plugin for writing Azure Data Factory integration tests. It is light-wrapper around the Azure Data Factory Python SDK.
Requirements
You will need the following:
Python 3+
Installation
To install pytest-adf:
pip install pytest-adf
Usage
Here is a simple usage of the adf_pipeline_run fixture.
def test_pipeline_succeeded(adf_pipeline_run):
this_run = adf_pipeline_run("my_pipeline", run_inputs={})
assert this_run.status == "Succeeded"
The adf_pipeline_run fixture provides a factory function that triggers a pipeline run when called. It will then block and poll the pipeline run till completion* before returning.
*Pipeline run completion is defined by the following status: “Succeeded”, “TimedOut”, “Failed”, “Cancelled”.
For more information see Github page.
Metadata
Release files for pytest-adf 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest-adf-0.1.5.tar.gz | 5.2 kB | Without provenance | Details for pytest-adf-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_adf-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for pytest_adf-0.1.5-py3-none-any.whl |
Total release size: 10.4 kB
Release files / pytest-adf-0.1.5.tar.gz
| Download URL | pytest-adf-0.1.5.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e656cd24dd8e5251f15fa320f190b11bb6c475b1a857a5d9c9a3dff2c74156ec
|
|
BLAKE2b-256 checksum How to use checksums |
fcc74d69e8218d1b7b9c5c152fecf75164622baab44911598ae0a6b82f670c85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / pytest_adf-0.1.5-py3-none-any.whl
| Download URL | pytest_adf-0.1.5-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
faf55309db9a9f48df71109db22c70c022b51d843d88690fa80e52f608176f2f
|
|
BLAKE2b-256 checksum How to use checksums |
20f9c6cb2d8469a58510473d1fbf254b29a53ba32d6fbd4dba069b520eba39d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Security for pytest-adf 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.