-
- Downloads
Extract the BaseDb class from swh-storage
This class is meant to be used not only to wrap storage-like db. Also rewrite the test_logger using pytest-postgresql fixture so we do not need pifpaf anymore.
Showing
- requirements-test.txt 2 additions, 1 deletionrequirements-test.txt
- swh/core/db/__init__.py 160 additions, 0 deletionsswh/core/db/__init__.py
- swh/core/db/common.py 80 additions, 0 deletionsswh/core/db/common.py
- swh/core/db/db_utils.py 177 additions, 0 deletionsswh/core/db/db_utils.py
- swh/core/tests/test_logger.py 29 additions, 24 deletionsswh/core/tests/test_logger.py
- tox.ini 1 addition, 2 deletionstox.ini
swh/core/db/__init__.py
0 → 100644
swh/core/db/common.py
0 → 100644
swh/core/db/db_utils.py
0 → 100644
Please register or sign in to comment