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
pytest-spark-0.1.1.tar.gz
(2.0 kB
view details)
Built Distribution
File details
Details for the file pytest-spark-0.1.1.tar.gz
.
File metadata
- Download URL: pytest-spark-0.1.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e920f14f6a5c57939ec7f5074d8209a84adc406e70839e4852fdbec5094704f |
|
MD5 | 184fe5c69759d3df6a550870bee88fcc |
|
BLAKE2b-256 | 9fd12a75349c8c4f87fc73208f8db5a820c25a848bd5a0be0ded1143086ded1c |
File details
Details for the file pytest_spark-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pytest_spark-0.1.1-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 | 6d58e85ec6719df066f0ef3b957c2a72f1fb2373cd1f722d26de4405dc0624a7 |
|
MD5 | ba8ce7435417fea76c70c65f52224d16 |
|
BLAKE2b-256 | b2d580f85a0166692945abe87eff623c696210df7ae31145851d4d32f870cd50 |