summaryrefslogtreecommitdiff
path: root/psutil/tests/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/tests/__main__.py')
-rwxr-xr-xpsutil/tests/__main__.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/psutil/tests/__main__.py b/psutil/tests/__main__.py
new file mode 100755
index 00000000..5f7bb528
--- /dev/null
+++ b/psutil/tests/__main__.py
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+
+# Copyright (c) 2009, Giampaolo Rodola'. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""
+Run unit tests. This is invoked by:
+
+$ python -m psutil.tests
+"""
+
+from psutil.tests import run_suite
+run_suite()