hentai-chan/hentai

[ ENH & TST ] Rewrite test suite from scratch

hentai-chan opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
As it stands now, the unit test only check if the test file's meta data are in sync with https://nhentai.net.

Describe the solution you'd like
Rewrite everything using patch from unittest.mock this time.

Describe alternatives you've considered

Additional context
See also: unittest.mock

I will postpone this issue. The test suite seems to be working fine right now with the exception of test_tags and test_category with higher potential for out of sync errors but I will get to it when time calls for it.