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 -m vedro .
Documentation
🚀 vedro.io
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.3.4.tar.gz
(38.5 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.3.4-py3-none-any.whl
(72.6 kB
view details)
File details
Details for the file vedro-1.3.4.tar.gz.
File metadata
- Download URL: vedro-1.3.4.tar.gz
- Upload date:
- Size: 38.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5556c4aefa538b9d80792bcb698f238ea6b39ca9e46db8a2cfcf738fc0c4ce7c
|
|
| MD5 |
5f18705f8e313d8de7468bb3420adc48
|
|
| BLAKE2b-256 |
a3ae66a16c425c45f524a2aeb538e48c81e93078a39a5add7336533f4b8338d9
|
File details
Details for the file vedro-1.3.4-py3-none-any.whl.
File metadata
- Download URL: vedro-1.3.4-py3-none-any.whl
- Upload date:
- Size: 72.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
410da208ded3b5e665cc12d7dbaa0392708911aa97ef5180be833922f319e78a
|
|
| MD5 |
d4d7abf087d8e8b879ed6b737596b15a
|
|
| BLAKE2b-256 |
5f66efaecc4b51d610497c139cdfa627e2b7525aafa5294a63870021e08c48a2
|