Skip to main content

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.

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)

Source distribution for pytest-adf 0.1.5
File Size Uploaded
pytest-adf-0.1.5.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-adf 0.1.5
File Interpreter ABI Platform
pytest_adf-0.1.5-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page