diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-01 00:13:20 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-01 00:52:34 -0400 |
commit | d8d61f771cd5462580872d2414720b69846a6d4d (patch) | |
tree | d10af51081427067f0d5eef2fab76d6cac88da79 /src | |
parent | 662aed784218a45efbf563ff6150fcb9f1aa81aa (diff) |
[tests] add bogus imports to see meaningful code coverage
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/bitmask/bonafide/__init__.py | 12 | ||||
-rw-r--r-- | src/leap/bitmask/core/__init__.py | 8 |
2 files changed, 17 insertions, 3 deletions
diff --git a/src/leap/bitmask/bonafide/__init__.py b/src/leap/bitmask/bonafide/__init__.py index 74f4e668..9dfb19db 100644 --- a/src/leap/bitmask/bonafide/__init__.py +++ b/src/leap/bitmask/bonafide/__init__.py @@ -1,4 +1,10 @@ +# XXX just to make submodules appear in the +# coverage report. you can delete the imports when the tests +# exersise the codebase. -from ._version import get_versions -__version__ = get_versions()['version'] -del get_versions +import config +import bootstrap +import session +import provider +import service +import cred_srp diff --git a/src/leap/bitmask/core/__init__.py b/src/leap/bitmask/core/__init__.py index bda4b8d0..aad3a4ad 100644 --- a/src/leap/bitmask/core/__init__.py +++ b/src/leap/bitmask/core/__init__.py @@ -1,2 +1,10 @@ APPNAME = "bitmask.core" ENDPOINT = "ipc:///tmp/%s.sock" % APPNAME + +# FIXME some temporary imports to make the modules +# appear in the coverage report. Remove the imports when +# test code cover them. +import service +import uuid_map +import mail_services +import dispatcher |