From d8d61f771cd5462580872d2414720b69846a6d4d Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 1 Sep 2016 00:13:20 -0400 Subject: [tests] add bogus imports to see meaningful code coverage --- src/leap/bitmask/bonafide/__init__.py | 12 +++++++++--- src/leap/bitmask/core/__init__.py | 8 ++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) (limited to 'src') 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 -- cgit v1.2.3