summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/leap/mx/tests/__init__.py17
-rwxr-xr-xstart_mx.py4
2 files changed, 19 insertions, 2 deletions
diff --git a/src/leap/mx/tests/__init__.py b/src/leap/mx/tests/__init__.py
new file mode 100644
index 0000000..0416769
--- /dev/null
+++ b/src/leap/mx/tests/__init__.py
@@ -0,0 +1,17 @@
+#-*- encoding: utf-8 -*-
+"""
+leap/mx/tests/__init__.py
+-------------------------
+Module intialization file for leap.mx.tests, a module containing unittesting
+code, using twisted.trial, for testing leap_mx.
+
+@authors: Isis Agora Lovecruft, <isis@leap.se> 0x2cdb8b35
+@license: AGPLv3, see included LICENSE file
+@copyright: © 2013 Isis Lovecruft, see COPYLEFT file
+"""
+
+__all__ = ['test_alias_resolver']
+
+def run():
+ """xxx fill me in"""
+ pass
diff --git a/start_mx.py b/start_mx.py
index 7837add..d45209c 100755
--- a/start_mx.py
+++ b/start_mx.py
@@ -138,8 +138,8 @@ Example Usage:
failure.traceupLength = 7
failure.startDebugMode()
- if options['test']:
- from leap.mx import tests ## xxx this needs an __init__.py
+ if options['all-tests']:
+ from leap.mx import tests
tests.run()
else:
mx_options.getUsage()