mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2026-04-04 22:17:49 +00:00
Added Push to Redis and Redis as a LookupLib
This commit is contained in:
parent
d6d90d3e2a
commit
8216f488ef
11 changed files with 602 additions and 224 deletions
|
|
@ -72,4 +72,9 @@ def fixCountryFile(request):
|
|||
def fix_callinfo(request, fixApiKey):
|
||||
lib = LookupLib(request.param, fixApiKey)
|
||||
callinfo = Callinfo(lib)
|
||||
return(callinfo)
|
||||
return(callinfo)
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def fix_redis():
|
||||
import redis
|
||||
return LookupLib(lookuptype="redis", redis_instance=redis.Redis(), redis_prefix="clx")
|
||||
Loading…
Add table
Add a link
Reference in a new issue