Tests back content_get and content_get_metadata as a first step. Plan
to use those for the new and upcoming content_get_range function.
To be rebased on the current work on storage.
Differential D646
tests: Add test content generation util function ardumont on Nov 9 2018, 2:55 PM. Authored by
Details
Tests back content_get and content_get_metadata as a first step. Plan To be rebased on the current work on storage. tox to test only those new tests though: pytest -v -m property_based ./swh/storage/tests/test_storage.py --disable-warnings
Diff Detail
Event TimelineComment Actions Build is green Comment Actions Build is green Comment Actions @olasd Might take some time to execute indeed. time pytest -v -m property_based ./swh/storage/tests/test_storage.py --disable-warnings ===================================================================================== test session starts ===================================================================================== platform linux -- Python 3.6.7, pytest-3.9.2, py-1.7.0, pluggy-0.8.0 -- /home/tony/work/inria/repo/swh/swh-environment/.venv/bin/python3 cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/tony/work/inria/repo/swh/swh-environment/swh-storage/.hypothesis/examples') rootdir: /home/tony/work/inria/repo/swh/swh-environment/swh-storage, inifile: pytest.ini plugins: requests-mock-1.5.2, hypothesis-3.79.3, celery-4.2.1 collected 58 items / 56 deselected swh/storage/tests/test_storage.py::PropBasedTestStorage::test_generate_content_get PASSED [ 50%] swh/storage/tests/test_storage.py::PropBasedTestStorage::test_generate_content_get_metadata PASSED [100%] ==================================================================== 2 passed, 56 deselected, 100 warnings in 4.20 seconds ==================================================================== pytest -v -m property_based ./swh/storage/tests/test_storage.py 2.47s user 0.30s system 57% cpu 4.865 total
Comment Actions
Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/72/
|