pytest plugin to run the tests with support of pyspark.
Project description
pytest plugin to run the tests with support of pyspark (Apache Spark).
This plugin will allow to specify SPARK_HOME directory in pytest.ini and make “pyspark” importable in you tests which are executed by pytest.
Install
$ pip install pytest-spark
Usage
To run test with required spark_home location just add “spark_home” value to pytest.ini in your project directory:
[pytest] spark_home = /opt/spark
pytest-spark will try to import pyspark from specified location.
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 pytest-spark-0.1.0.tar.gz.
File metadata
- Download URL: pytest-spark-0.1.0.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cc4f0964a2a5ee0ad86e82412794bcdb65c4df293ade8edb604c179271f993d
|
|
| MD5 |
dc3d6920d341da0f999129bcfcb9e3e6
|
|
| BLAKE2b-256 |
668177d52a10f7b5a4e75d2e30b6c304552fdea466b89082895868a819fdcad0
|
File details
Details for the file pytest_spark-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: pytest_spark-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06cc81b98b54ec1f47daf67aabeb02d835eb6701387019024bad0ec1c033e88a
|
|
| MD5 |
deadec078dd9c4fb035077bc2f059451
|
|
| BLAKE2b-256 |
a75cf5811ee592141104b95716dd17f64c3ed5717abad41bb3881d9b2e1b7035
|