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.3.tar.gz
(38.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.3-py3-none-any.whl
(72.2 kB
view details)
File details
Details for the file vedro-1.3.3.tar.gz.
File metadata
- Download URL: vedro-1.3.3.tar.gz
- Upload date:
- Size: 38.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7715175d608189912c4123ea51b204991af87702fa53fe6ea0941ce81e71a7d3
|
|
| MD5 |
1188de32abe176c5b185334088e6cb9f
|
|
| BLAKE2b-256 |
2ce03de75a70457c9d42b6f3f2191977396151dad233022cb53357551abfa108
|
File details
Details for the file vedro-1.3.3-py3-none-any.whl.
File metadata
- Download URL: vedro-1.3.3-py3-none-any.whl
- Upload date:
- Size: 72.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e7c6c1b31395d35f8eac5d999bf1fd6fb38228b1ce1097f799946958accb026
|
|
| MD5 |
a213bae11b4d514ecc2e91216572e325
|
|
| BLAKE2b-256 |
1dd19c35d38ceb3045ec46c273b4e6274e15d4267533a56da7f68355e6219469
|