Karpyncho-stdout-context

Latest version: v0.1.3

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

Scan your dependencies

0.1.3

Removed

* Removed compatibility with Python 3.5

Fixed

* Fixed type hint | not compatible with python<=3.10

Added - CI

* mypy checking added on Tox

0.1.2

Fixed

* Fixed type hints warnings and typos in stdout_context/__init__.py

Added - Documentation

* added Future Improvements section in README.md

Fixed - Documentation

* fix in README.md changed title of the project
* fix in README.md explaining changes of assertStdoutContains
* fix CHANGELOG.md related to assertStdoutContains
* fix CHANGELOG.md a few typos

Added - Development

* added all test cases for failing assertions
* added publishing github action

0.1.1

Changed

* assertStdoutContains(text1, text2, text3...) now supports several texts and all of them must be present in the console output to pass the assertion

0.1.0

Features

* `TestCaseStdoutMixin` mixin to be used as multiple inheritance| along a TestCase class
* this mixin will provide the following assert methods to be used as a context
+ assertStdout(expected_output) will assert that the context will finish writing exactly expected_output in console
+ assertStdoutPrints(line1, line2, ...) is the same than assertStdout but passing each line
+ assertStdoutContains(expected_output) will assert that expected_output is a substring of the console output
+ assertStdoutRegex(regex) will assert that the console output matches with the provided regex

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.