# pytest_expectr
pytest-expectr is a plugin for [pytest](https://docs.pytest.org/en/latest/) that provide expect to tests/fixtures for multiple assert use.
## Requirements
You will need the following prerequisites in order to use pytest-expectr:
- Python 2.7, 3.6, PyPy, or PyPy3
- pytest 2.6 or newer
## How to install
To install pytest-expectr:
```bash
pip install pytest-expectr
```
## How to use
```python
def test_hello(expect):
expect(1==2, 'your error message 1')
expect(1==3, 'your error message 2')
...
```
pytest-expectr is a plugin for [pytest](https://docs.pytest.org/en/latest/) that provide expect to tests/fixtures for multiple assert use.
## Requirements
You will need the following prerequisites in order to use pytest-expectr:
- Python 2.7, 3.6, PyPy, or PyPy3
- pytest 2.6 or newer
## How to install
To install pytest-expectr:
```bash
pip install pytest-expectr
```
## How to use
```python
def test_hello(expect):
expect(1==2, 'your error message 1')
expect(1==3, 'your error message 2')
...
```
Metadata
Release files for pytest-expectr 1.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_expectr-1.4.2.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_expectr-1.4.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / pytest_expectr-1.4.2.tar.gz
| Download URL | pytest_expectr-1.4.2.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ded5ac6c5deefe2d867f61153f5b5d4f2d00df7fee23ee821982a42a192939eb
|
|
BLAKE2b-256 checksum How to use checksums |
de8e14df9ba894958275651c051e02f2b4222232c1ef68d693edffe07dfb9982
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|
Release files / pytest_expectr-1.4.2-py2.py3-none-any.whl
| Download URL | pytest_expectr-1.4.2-py2.py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9c78580605f365ece085b03564fef171a81994abab5df279d256c3bd9e0551f4
|
|
BLAKE2b-256 checksum How to use checksums |
663ac0ba20d0b672378a94fb37e3a55e159a440786c0b1e06313fd2e5a798986
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|