Inline-snapshot

Latest version: v0.10.2

Safety actively analyzes 634607 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

0.2.0

Feat

- `value <= snapshot()` to ensure that something gets smaller/larger over time (number of iterations of an algorithm you want to optimize for example),
- `value in snapshot()` to check if your value is in a known set of values,
- `snapshot()[key]` to generate new sub-snapshots on demand.

- convert strings with newlines to triple quoted strings
python
assert "a\nb\n" == snapshot(
"""a
b
"""
)

- preserve black formatting

0.1.2

Fix

- updated executing

0.1.1

Fix

- fixed typo in pytest plugin name

0.1.0

Feat

- first inline-snapshot version

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.