testing-conventions 0.0.55

Enforce testing conventions in libraries (Python, TypeScript, and Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
# Same un-mocked external collaborators as the red fixture — but this file is waived
# in `testing-conventions.toml`, so `unmocked-collaborator` is lifted.
from myproject.widget import build

import requests
import subprocess


def describe_build():
    def it_builds():
        assert build(requests, subprocess) is not None