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 -m vedro .
Documentation
🚀 vedro.io
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.3.5.tar.gz
(39.2 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.5-py3-none-any.whl
(73.6 kB
view details)
File details
Details for the file vedro-1.3.5.tar.gz.
File metadata
- Download URL: vedro-1.3.5.tar.gz
- Upload date:
- Size: 39.2 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 |
7f39c8152bd4e69c7340625d103eb4f1fccc64e0a7df8c457f40184dcfefb6ef
|
|
| MD5 |
8c976088840e3e303956ae651b892baa
|
|
| BLAKE2b-256 |
b1c8676a594e0a9cd88abd493997edb6bf812c13ea2af3ed2d6c4cef388fdb22
|
File details
Details for the file vedro-1.3.5-py3-none-any.whl.
File metadata
- Download URL: vedro-1.3.5-py3-none-any.whl
- Upload date:
- Size: 73.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 |
0ca9e3c3272e7d1d2e8e8aca0c88d5ea3408514d720edb09eebf641dafb70065
|
|
| MD5 |
ae349bef1f7ccbe0143b2a4963f13cb6
|
|
| BLAKE2b-256 |
843bc1b8c751c6e84d6838d96bda21f9808fb90d59b5248f5678d50e47faaaf9
|