summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-09-01 00:13:20 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-01 00:52:34 -0400
commitd8d61f771cd5462580872d2414720b69846a6d4d (patch)
treed10af51081427067f0d5eef2fab76d6cac88da79 /src
parent662aed784218a45efbf563ff6150fcb9f1aa81aa (diff)
[tests] add bogus imports to see meaningful code coverage
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/bonafide/__init__.py12
-rw-r--r--src/leap/bitmask/core/__init__.py8
2 files changed, 17 insertions, 3 deletions
diff --git a/src/leap/bitmask/bonafide/__init__.py b/src/leap/bitmask/bonafide/__init__.py
index 74f4e66..9dfb19d 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 bda4b8d..aad3a4a 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