Changes description

This commit is contained in:
Rishat Fayzullin 2024-06-13 15:02:34 +03:00
parent 5173d04c99
commit af118d0f9d

11
CHANGES/1510.bugfix.rst Normal file
View file

@ -0,0 +1,11 @@
Fail redis and mongo tests if incorrect URI provided + some storages tests refactoring
If incorrect URIs provided to "--redis" and/or "--mongo" options tests should fail with errors instead of skipping.
Otherwise the next scenario is possible:
1) developer breaks RedisStorage and/or MongoStorage code
2) tests are run with incorrect redis and/or mongo URIsprovided by "--redis" and "--mongo" options (for example, wrong port specified)
3) tests pass because skipping doesn't fail tests run
4) developer or reviewer doesn't notice that redis and/or mongo tests were skipped
5) broken code gets in codebase
Also some refactorings done (related with storages and storages tests).