[tests] adapt events tests to recent changes
[leap_pycommon.git] / src / leap / common / __init__.py
1 import logging
2
3 from leap.common import certs
4 from leap.common import check
5 from leap.common import files
6 from leap.common import events
7 from ._version import get_versions
8
9 logger = logging.getLogger(__name__)
10
11 try:
12     import pygeoip
13     HAS_GEOIP = True
14 except ImportError:
15     # logger.debug('PyGeoIP not found. Disabled Geo support.')
16     HAS_GEOIP = False
17
18 __all__ = ["certs", "check", "files", "events"]
19
20 __version__ = get_versions()['version']
21 del get_versions