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.3.tar.gz
(10.4 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.3-py3-none-any.whl
(19.9 kB
view details)
File details
Details for the file vedro-1.0.3.tar.gz.
File metadata
- Download URL: vedro-1.0.3.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
996385e3d3fc4b1cdb080986d499a65fb5ac70927b909b3c038c79fff0bb9cee
|
|
| MD5 |
82104b9bace3aafb1213fef7c85a58d3
|
|
| BLAKE2b-256 |
aaf50e9e76f057a81b7b4bd11b6208246f8fa73f2aa798f1f5512da6293f7517
|
File details
Details for the file vedro-1.0.3-py3-none-any.whl.
File metadata
- Download URL: vedro-1.0.3-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
163ba76179191de9e230e32db272f71e99c0e26073d83a6da442941a2fd149ea
|
|
| MD5 |
4c415d2c32f965ff3391ef14fe3058ba
|
|
| BLAKE2b-256 |
d4f6ea9df1c50fb36c52fc3bd088e519d4b132477ccef04f216cf202e9203e78
|