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.0.4.tar.gz
(10.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.0.4-py3-none-any.whl
(20.1 kB
view details)
File details
Details for the file vedro-1.0.4.tar.gz.
File metadata
- Download URL: vedro-1.0.4.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f467288022385957c7a1c0a278c3ea8ed67b01df9d244bc5da9a646c83a0cbe
|
|
| MD5 |
4e568fa9e16a68d8dddff7dd23290878
|
|
| BLAKE2b-256 |
4a152420aa14c30be228b36ce0acc8825a88fa54c377f30b636646c66eb5f276
|
File details
Details for the file vedro-1.0.4-py3-none-any.whl.
File metadata
- Download URL: vedro-1.0.4-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9753fea53cacdd3a2529bfa4486ea36386efbb27192b70b27cc6effa94e1931e
|
|
| MD5 |
f6a570ebca1ce3e8c0b6cd898d30977d
|
|
| BLAKE2b-256 |
0eb59aef82769ca13a6bd908840f269713abb8270e2cbd1a43211577c01894e4
|