summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorThomi Richards <thomi.richards@canonical.com>2013-11-18 11:25:19 +1300
committerThomi Richards <thomi.richards@canonical.com>2013-11-18 11:25:19 +1300
commit980ddea6ac3ca2f2d5cef72a739a95ae6d753bc2 (patch)
tree78a87c33f35d759545377577c544bbd9bc62a1cd /python
parentb62ae3a9da848e6b8d0e0109a77cca712eb46a71 (diff)
downloadsubunit-git-980ddea6ac3ca2f2d5cef72a739a95ae6d753bc2.tar.gz
Added empty test module to test suite.
Diffstat (limited to 'python')
-rw-r--r--python/subunit/tests/__init__.py4
-rw-r--r--python/subunit/tests/test_output_filter.py22
2 files changed, 25 insertions, 1 deletions
diff --git a/python/subunit/tests/__init__.py b/python/subunit/tests/__init__.py
index a3caa38..c9cc7ae 100644
--- a/python/subunit/tests/__init__.py
+++ b/python/subunit/tests/__init__.py
@@ -6,7 +6,7 @@
# license at the users choice. A copy of both licenses are available in the
# project source as Apache-2.0 and BSD. You may not use this file except in
# compliance with one of these two licences.
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under these licenses is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -20,6 +20,7 @@ from subunit.tests import (
test_chunked,
test_details,
test_filters,
+ test_output_filter,
test_progress_model,
test_run,
test_subunit_filter,
@@ -45,4 +46,5 @@ def test_suite():
result.addTest(loader.loadTestsFromModule(test_subunit_tags))
result.addTest(loader.loadTestsFromModule(test_subunit_stats))
result.addTest(loader.loadTestsFromModule(test_run))
+ result.addTest(loader.loadTestsFromModule(test_output_filter))
return result
diff --git a/python/subunit/tests/test_output_filter.py b/python/subunit/tests/test_output_filter.py
new file mode 100644
index 0000000..8317ffe
--- /dev/null
+++ b/python/subunit/tests/test_output_filter.py
@@ -0,0 +1,22 @@
+#
+# subunit: extensions to python unittest to get test results from subprocesses.
+# Copyright (C) 2005 Thomi Richards <thomi.richards@canonical.com>
+#
+# Licensed under either the Apache License, Version 2.0 or the BSD 3-clause
+# license at the users choice. A copy of both licenses are available in the
+# project source as Apache-2.0 and BSD. You may not use this file except in
+# compliance with one of these two licences.
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under these licenses is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# license you chose for the specific language governing permissions and
+# limitations under that license.
+#
+
+
+from testtools import TestCase
+
+
+class OutputFilterTests(TestCase):
+ pass