summaryrefslogtreecommitdiff
path: root/mail/src/leap
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-06-29 14:33:50 -0300
committerdrebs <drebs@leap.se>2013-07-22 14:46:35 -0300
commitd81f6ced46c1c36c7ceda2783814b60d6b347826 (patch)
treef5f78609d0a120424acf51a2e5bad0c2ecc07fac /mail/src/leap
parent6ae53da98b4ae9afef28ccfc1e5ad001a371fec3 (diff)
Fix setuptools' test suite spec.
Diffstat (limited to 'mail/src/leap')
-rw-r--r--mail/src/leap/mail/__init__.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/mail/src/leap/mail/__init__.py b/mail/src/leap/mail/__init__.py
index e69de29..04a9951 100644
--- a/mail/src/leap/mail/__init__.py
+++ b/mail/src/leap/mail/__init__.py
@@ -0,0 +1,28 @@
+# -*- coding: utf-8 -*-
+# __init__.py
+# Copyright (C) 2013 LEAP
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+"""
+Provide function for loading tests.
+"""
+
+
+import unittest
+
+
+def load_tests():
+ return unittest.defaultTestLoader.discover('./src/leap/mail')