Created
August 3, 2017 10:04
-
-
Save ferbncode/2a3f3967015747c45efedfc20b7f3608 to your computer and use it in GitHub Desktop.
Cache needs to be initialized.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================================= FAILURES ================================================================================== | |
_______________________________________________________________________ PlaceTestCase.test_get_by_id ________________________________________________________________________ | |
self = <critiquebrainz.frontend.external.musicbrainz_db.tests.place_test.PlaceTestCase testMethod=test_get_by_id> | |
def test_get_by_id(self): | |
self.place_query.return_value = [place_suisto] | |
> place = mb_place.get_place_by_id('d71ffe38-5eaf-426b-9a2e-e1f21bc84609') | |
place_test.py:15: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
../place.py:26: in get_place_by_id | |
place = cache.get(key) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = (b'd71ffe38-5eaf-426b-9a2e-e1f21bc84609',), kwargs = {} | |
@wraps(f) | |
def decorated(*args, **kwargs): | |
if not _r: | |
> raise RuntimeError("Cache module needs to be initialized before " | |
"use! See documentation for more info.") | |
E RuntimeError: Cache module needs to be initialized before use! See documentation for more info. | |
/usr/local/lib/python3.6/site-packages/brainzutils/cache.py:87: RuntimeError | |
==================================================================== 1 failed, 2 passed in 4.27 seconds ===================================================================== | |
root@9fee5f7050ad:/code/critiquebrainz/frontend/external/musicbrainz_db/tests# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment