No project description provided
Project description
Vedro
(!) Work in progress, breaking changes are possible until v2.0 is released
Installation
pip3 install vedro
Usage
# ./scenarios/decode_base64_encoded_string.py
from aiohttp import ClientSession
import vedro
class Scenario(vedro.Scenario):
subject = "decode base64 encoded string"
def given(self):
self.encoded = "YmFuYW5h"
async def when(self):
async with ClientSession() as session:
self.response = await session.get(f"https://httpbin.org/base64/{self.encoded}")
async def then(self):
assert (await self.response.text()) == "banana"
python3 -c "import vedro; vedro.run()"
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
vedro-1.1.0.tar.gz
(29.1 kB
view details)
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
vedro-1.1.0-py3-none-any.whl
(50.6 kB
view details)
File details
Details for the file vedro-1.1.0.tar.gz.
File metadata
- Download URL: vedro-1.1.0.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
526b58e3f029f36ef58587f37d0155dd1054f1e84a2d0d0675668504b4d14b0b
|
|
| MD5 |
190b469ef551581e8b337b66d07566cc
|
|
| BLAKE2b-256 |
a12ad645778f540367733663a0e5599da50c680462a663371f32996505eeb96e
|
File details
Details for the file vedro-1.1.0-py3-none-any.whl.
File metadata
- Download URL: vedro-1.1.0-py3-none-any.whl
- Upload date:
- Size: 50.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
daf7eec4fb5e06e20bc9c3afc7d9a45b2b759d81c90813d7b2ac656623e17c3c
|
|
| MD5 |
cd8e872bc20e5e979fb2256dec880003
|
|
| BLAKE2b-256 |
eac8c56a59cf180157cec79e11229bdbb5338e6e28e12aa6febae1d9b4e6e5bd
|