Skip to content

Commit a2f8285

Browse files
Resolve cache static test path from test file
1 parent 4d8e7e5 commit a2f8285

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

quantara/web_app/tests/test_cache_stampede_static.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from pathlib import Path
22

33

4-
CACHE_SOURCE = Path("quantara/web_app/contract_tools/cache.py").read_text()
4+
WEB_APP = Path(__file__).resolve().parents[1]
5+
CACHE_SOURCE = (WEB_APP / "contract_tools/cache.py").read_text()
56

67

78
def test_cache_miss_uses_setnx_refresh_claim():

0 commit comments

Comments
 (0)