summaryrefslogtreecommitdiff
path: root/selftest/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-11-01 15:13:18 -0700
committerJelmer Vernooij <jelmer@samba.org>2014-11-30 14:22:05 +0100
commit0f408599f83f5d8e68f0fb0f765143aa6620651e (patch)
treea834d1a492d1047a2a9419890f90637772b08c2b /selftest/tests
parentc3855dae71e557b824ad2679acd8bb5ad85936e2 (diff)
downloadsamba-0f408599f83f5d8e68f0fb0f765143aa6620651e.tar.gz
selftest: Add separate command line for listing tests, allowing us of subunit-filter (which doesn't support subunit v2).
Change-Id: Icb877214a422c63fd38ef92425c7b4fe7ee19ad5 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest/tests')
-rw-r--r--selftest/tests/test_testlist.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/selftest/tests/test_testlist.py b/selftest/tests/test_testlist.py
index 7846eb1eff2..7007d6d35a2 100644
--- a/selftest/tests/test_testlist.py
+++ b/selftest/tests/test_testlist.py
@@ -67,14 +67,14 @@ class ReadTestlistTests(TestCase):
def test_read_list(self):
inf = StringIO("-- TEST --\nfoo\nbar\nbla\n")
outf = StringIO()
- self.assertEquals([('foo', 'bar', 'bla', False)],
+ self.assertEquals([('foo', 'bar', 'bla', None)],
list(read_testlist(inf, outf)))
self.assertEquals("", outf.getvalue())
def test_read_list_passes_through(self):
inf = StringIO("MORENOISE\n-- TEST --\nfoo\nbar\nbla\nNOISE\n")
outf = StringIO()
- self.assertEquals([('foo', 'bar', 'bla', False)],
+ self.assertEquals([('foo', 'bar', 'bla', None)],
list(read_testlist(inf, outf)))
self.assertEquals("MORENOISE\nNOISE\n", outf.getvalue())
@@ -143,6 +143,6 @@ class ReadTestListFileTests(TestCase):
f.close()
outf = StringIO()
self.assertEquals(
- [('data', 'env', 'cmd', False, False)],
+ [('data', 'env', 'cmd', None)],
list(read_testlist_file(p, outf)))
self.assertEquals("noise\n", outf.getvalue())