summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core/__init__.py
blob: 644441f611c1495ad90da276c0bd458452bf3227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import platform

# FIXME some temporary imports to make the modules
# appear in the coverage report. Remove the imports when
# test code cover them.


def dummy_imports():
    import service
    import dispatcher
    try:
        import uuid_map
        import mail_services
    except ImportError:
        pass


APPNAME = "bitmask.core"
if platform.system() == 'Windows':
    ENDPOINT = "tcp://127.0.0.1:5001"
else:
    ENDPOINT = "ipc:///tmp/%s.sock" % APPNAME

dummy_imports()