Commit 602e714f authored by Ralf Schmitt's avatar Ralf Schmitt

greentest/: pep8

--HG--
extra : transplant_source : %BA%2A%18%28%BB%BC%BF%7D%C0%0B%60%C8%08%7EUJ%93%8E%AF%D6
parent 5edbddae
......@@ -91,7 +91,7 @@ class TestCase(BaseTestCase):
@property
def testcasename(self):
return self.__class__.__name__ + '.' + self.testname
@property
def modulename(self):
test_method = getattr(self, self.testname)
......@@ -101,7 +101,6 @@ class TestCase(BaseTestCase):
def fullname(self):
return splitext(basename(self.modulename))[0] + '.' + self.testcasename
def hook_stderr(self):
if VERBOSE:
return
......
......@@ -20,6 +20,7 @@ test_socket.GeneralModuleTests.*
tests = [x.strip().replace('\.', '\\.').replace('*', '.*?') for x in tests.split('\n') if x.strip()]
tests = re.compile('^%s$' % '|'.join(tests))
def get_switch_expected(fullname):
"""
>>> get_switch_expected('test_select.SelectTestCase.test_error_conditions')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment