summaryrefslogtreecommitdiffstats
path: root/python/samba/tests/docs.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-12-14 20:03:28 +0000
committerAndrew Bartlett <abartlet@samba.org>2015-03-06 04:41:47 +0100
commit940c277d83737367617a7b06e49f71b6a2ab4fde (patch)
treed443b2fda61a8fb2eea0dbf2a529fa9d80feb078 /python/samba/tests/docs.py
parent7cb7d4b53eec0bea355a94388bfcce320b36ddfc (diff)
downloadsamba-940c277d83737367617a7b06e49f71b6a2ab4fde.tar.gz
samba-940c277d83737367617a7b06e49f71b6a2ab4fde.tar.xz
samba-940c277d83737367617a7b06e49f71b6a2ab4fde.zip
Rename TestSkipped to Skiptest, consistent with Python 2.7.
Change-Id: I023df54363328333f1cb6c3ae3c1a406befa8f7b Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python/samba/tests/docs.py')
-rw-r--r--python/samba/tests/docs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/samba/tests/docs.py b/python/samba/tests/docs.py
index a6a1a155fa..d57701d47d 100644
--- a/python/samba/tests/docs.py
+++ b/python/samba/tests/docs.py
@@ -21,9 +21,7 @@
import samba
import samba.tests
-from samba.tests import TestSkipped, TestCaseInTempDir
-import errno
import os
import re
import subprocess
@@ -36,6 +34,7 @@ class TestCase(samba.tests.TestCaseInTempDir):
parameters.sort()
return message + '\n\n %s' % ('\n '.join(parameters))
+
def get_documented_parameters(sourcedir):
path = os.path.join(sourcedir, "bin", "default", "docs-xml", "smbdotconf")
if not os.path.exists(os.path.join(path, "parameters.all.xml")):