mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2026-04-06 23:14:09 +00:00
Added pyhamtools.qsl to load LOTW and EQSL user list
This commit is contained in:
parent
beb8862ebe
commit
250d8e6b79
16 changed files with 162799 additions and 12 deletions
|
|
@ -3,10 +3,11 @@ import tempfile
|
|||
import os
|
||||
|
||||
|
||||
from apikey import APIKEY
|
||||
from apikey import APIKEY, QRZ_USERNAME, QRZ_PWD
|
||||
from pyhamtools import LookupLib
|
||||
from pyhamtools import Callinfo
|
||||
|
||||
|
||||
@pytest.fixture(scope="session", params=["a", "", 12.5, -5, {"foo" : "bar"}, [5, "foo"]])
|
||||
def fixNonUnsignedInteger(request):
|
||||
return request.param
|
||||
|
|
@ -39,9 +40,6 @@ def fixLists(request):
|
|||
def fixNone(request):
|
||||
return request.param
|
||||
|
||||
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def fixApiKey(request):
|
||||
return(APIKEY)
|
||||
|
|
@ -77,4 +75,8 @@ def fix_callinfo(request, fixApiKey):
|
|||
@pytest.fixture(scope="module")
|
||||
def fix_redis():
|
||||
import redis
|
||||
return LookupLib(lookuptype="redis", redis_instance=redis.Redis(), redis_prefix="clx")
|
||||
return LookupLib(lookuptype="redis", redis_instance=redis.Redis(), redis_prefix="clx")
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def fix_qrz():
|
||||
return LookupLib(lookuptype="qrz", username=QRZ_USERNAME, pwd=QRZ_PWD)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue