mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2026-04-04 14:07:44 +00:00
added Callinfo; Lookup Info doesn't return now START, END, WHITELIST, WHITELIST_START and WHITELIST_END anymore
This commit is contained in:
parent
2017b1bf6d
commit
ecf1b036e8
6 changed files with 455 additions and 56 deletions
|
|
@ -11,7 +11,8 @@ from apikey import APIKEY
|
|||
# os.chdir(newpath)
|
||||
#
|
||||
|
||||
from pyhamtools.lookuplib import LookupLib
|
||||
from pyhamtools import LookupLib
|
||||
from pyhamtools import Callinfo
|
||||
|
||||
@pytest.fixture(scope="session", params=["a", "", 12.5, -5, {"foo" : "bar"}, [5, "foo"]])
|
||||
def fixNonUnsignedInteger(request):
|
||||
|
|
@ -74,7 +75,8 @@ def fixCountryFile(request):
|
|||
Lib = LookupLib("countryfile")
|
||||
return(Lib)
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def fixRedis(request):
|
||||
Lib = LookupLib("redis")
|
||||
return(Lib)
|
||||
@pytest.fixture(scope="module", params=["clublogapi", "clublogxml", "countryfile"])
|
||||
def fix_callinfo(request, fixApiKey):
|
||||
lib = LookupLib(request.param, fixApiKey)
|
||||
callinfo = Callinfo(lib)
|
||||
return(callinfo)
|
||||
Loading…
Add table
Add a link
Reference in a new issue