Skip to main content

Lest

Light Python library for testing

Installing

See installing in documentation.

Usage

Example:

Code:

import lest


@lest.setup
def my_setup():
    print('Setup ran!')


@lest.register
def test_adding_two_and_two():
    lest.assert_eq(2 + 2, 4)


@lest.register
def some_error_test():
    lest.assert_eq(2 + 2, 5)  # AssertionError


@lest.register
def some_more_error():
    lest.assert_eq(a + 2, 4)  # NameError


lest.run(info_level='max')

Output (to visible the highlighting, it's a print-screen):

Metadata

Release files for lest 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lest 0.7.1
File Size Uploaded Provenance Actions
lest-0.7.1.tar.gz 4.6 kB Without provenance Details for lest-0.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lest 0.7.1
File Interpreter ABI Platform Actions
lest-0.7.1-py3-none-any.whl Python 3 none any Details for lest-0.7.1-py3-none-any.whl

Total release size: 10.3 kB

Release files / lest-0.7.1.tar.gz

Download URL lest-0.7.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
54450abd689880c78e20e66db402eb6e369fad62215e0510cd86f102fc2001e8
BLAKE2b-256 checksum
How to use checksums
97acccb2bb8833a38290d7f84ca040eb4263746cee3fe462d18f4c1e6e631030
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / lest-0.7.1-py3-none-any.whl

Download URL lest-0.7.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e96b88f4d4b2534d51be85833bbd70c3ce23bb567f586211edd4373a11440365
BLAKE2b-256 checksum
How to use checksums
85db2517e6cf72b0fc8208dd622d0d1c5541bb7ec497aa535b5d7a5497c273dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Security for lest 0.7.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page