updated tests & docstrings of LookupLib

This commit is contained in:
dh1tw 2014-04-25 23:46:44 +02:00
parent 644306bea0
commit 4e4e94091d
19 changed files with 329 additions and 137 deletions

View file

@ -1,6 +1,9 @@
import pytest
import tempfile
import os
from apikey import APIKEY
#
# @pytest.fixture()
# def cleandir():
@ -44,10 +47,10 @@ def fixNone(request):
API_KEY = ""
@pytest.fixture(scope="session")
def fixApiKey(request):
return(API_KEY)
return(APIKEY)
@pytest.fixture(scope="module", params=["clublogapi", "clublogxml", "countryfile"])
def fixGeneralApi(request, fixApiKey):