Pytest-instrument

Latest version: v0.3.1

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

Scan your dependencies

0.3.1

-------------------
- Refactors `setLoggerClass` implementation to a `Filter`-based one to avoid side effects of `setLoggerClass`.

0.3.0

-------------------
- Next to `json` the `--instrument` parameter now also accepts `log` to send output to a regular log file.

0.2.0

-------------------
- The `--instrument` parameter now requires value, e.g. `--instrument=json` (only one supported currently).
- Next to the "instr.report" logger there is now an "instr.log" logger you can use in your tests to emit records to the same file.
- The `.log` output file is no longer first written as a pickle, then converted to a json array. It is written immediately and contains json objects.
- Tests were added and existing ones were refactored.

0.1.0

-------------------
- initial version

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.