Pytest plugin for writing Azure Data Factory integration tests
Project description
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.
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
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 pytest-adf-0.1.5.tar.gz.
File metadata
- Download URL: pytest-adf-0.1.5.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e656cd24dd8e5251f15fa320f190b11bb6c475b1a857a5d9c9a3dff2c74156ec
|
|
| MD5 |
8def291942bf00729e5d628b1e4d4cf6
|
|
| BLAKE2b-256 |
fcc74d69e8218d1b7b9c5c152fecf75164622baab44911598ae0a6b82f670c85
|
File details
Details for the file pytest_adf-0.1.5-py3-none-any.whl.
File metadata
- Download URL: pytest_adf-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
faf55309db9a9f48df71109db22c70c022b51d843d88690fa80e52f608176f2f
|
|
| MD5 |
68867de0bf06bcc9c1eca90a9f2fdc20
|
|
| BLAKE2b-256 |
20f9c6cb2d8469a58510473d1fbf254b29a53ba32d6fbd4dba069b520eba39d2
|