summaryrefslogtreecommitdiff
path: root/src
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
commit1f5a38ee44d550963dc03f0b851c1f04e0df4b67 (patch)
treeaf56ece8b8091f84e8103197c1192ef78cdbad52 /src
parentee6a3fe8b310ea5fed1e7bf625a84e9d663d35bc (diff)
Fix setuptools' test suite spec.
Diffstat (limited to 'src')
-rw-r--r--src/leap/mail/__init__.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/leap/mail/__init__.py b/src/leap/mail/__init__.py
index e69de29..04a9951 100644
--- a/src/leap/mail/__init__.py
+++ b/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')