Using tests inputs in assertions (or rather not)
Posted on 10 November 2021 in articles • Tagged with programming, python, testing, unit tests
![beautiful [but deadly] square knot / by woodleywonderworks / https://www.flickr.com/photos/wwworks/5623339500 / License: Attribution 2.0 Generic (CC BY 2.0)](https://znasibov.info/images/articles/2021_11_10_using_test_inputs_in_assertions_or_rather_not/cover_straight_knot.jpg)
It might be very convenient to use the same fixtures in test setup and assertions. This practice though is not as good as it looks like at first glance.
Continue reading