- ID
- e342585b-36aa-4c7b-a2cb-e69959bca610
BE-7219 AttributeError: 'LocMemCache' object has no attribute 'client'
- source :: https://hungryroot.atlassian.net/browse/BE-7219
- tags :: Hungryroot API Project
- epic :: EP-411 Eng Parking Lot
- sprint :: HR BE Sprint 104
- status :: Status - Code Review
Tasks
DONE Investigate how I broke E2E tests by overloading redis cache settings
- ID
- 85e0adfc-5f77-e734-9062-25a637e52d0d
Description
Sentry Issue: HUNGRYROOT-4GY https://hungryroot.sentry.io/issues/7281423408/?referrer=jira_integration
#+begin_src python
AttributeError: 'LocMemCache' object has no attribute 'client'
(12 additional frame(s) were not displayed)
...
File "e2e_framework/framework.py", line 203, in run_tests
self.suite = self.build_suite(test_suite)
File "e2e_framework/framework.py", line 172, in build_suite
to_return = loader.discover(os.getcwd(), pattern="e2e_test_*.py")
File "e2e_framework/framework.py", line 105, in _find_test_path
tests, should_recurse = super()._find_test_path(full_path, pattern, namespace) # type: ignore[misc]
File "e2e_framework/framework.py", line 871, in __init__
super().__init__(tests)
File "e2e_framework/framework.py", line 287, in __init__
self._redis_client = caches["default"].client.get_client() # type: ignore[attr-defined]
#+end_src