A lot of the original test suite was written in unittest
. Let's get all of that moved over to pytest
.
Initially, this should be converting unittest.TestCase
classes to pytest
classes similar to what was done in #98. We can pull those methods out to stand-alone functions later if we decide we want to, but leaving them in classes will make the diffs most simpler.
I would also like to opportunistically remove some of the over-zealous mocking present in these classes where we can.
Test modules to convert:
Due to the changes that will need to happen, anyone looking at this please follow the following guidelines:
unittest
classes to classes using pytest
first. We can change to functions later if desired, but converting the classes directly will minimize the changes in each test file.tox -re autoformat
before committing to apply our formatting rules.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4