Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(17)  |  Call(0)  |  Derive(0)  |  Import(17)

src/r/e/ReportLab-HEAD/tests/test_source_chars.py   ReportLab(Download)
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, SecureTestCase, GlobDirectoryWalker, printLocation
setOutDir(__name__)
from reportlab.lib.testutils import RL_HOME,testsFolder
__version__=''' $Id: test_source_chars.py 3660 2010-02-08 18:17:33Z damian $ '''
import os, sys, glob, string, re
    def testFiles(self):
        w = GlobDirectoryWalker(RL_HOME, '*.py')
        for filename in w:
            self.checkFileForTabs(filename)
            self.checkFileForTrailingSpaces(filename)

src/r/e/ReportLab-HEAD/tests/test_pyfiles.py   ReportLab(Download)
    def testAscii(self):
        "Test if Python files are pure ASCII ones."
        from reportlab.lib.testutils import RL_HOME
        allPyFiles = GlobDirectoryWalker(RL_HOME, '*.py')
 
    def testTrailingDigits(self):
        "Test if Python files contain trailing digits."
 
        from reportlab.lib.testutils import RL_HOME
        allPyFiles = GlobDirectoryWalker(RL_HOME, '*.py')
        file.write('No Unix-like first line found in the files below.\n\n')
 
        from reportlab.lib.testutils import RL_HOME
        paths = self.findSuspiciousModules(RL_HOME, 'reportlab')
        paths.sort()

src/r/e/ReportLab-HEAD/tests/test_extra.py   ReportLab(Download)
        # look for a file named 'extra.txt' in test directory,
        # exit if not found
        from reportlab.lib.testutils import RL_HOME
        extraFilename = os.path.join(RL_HOME, 'test', EXTRA_FILE)
        if not os.path.exists(extraFilename):

src/r/e/ReportLab-HEAD/tests/test_docstrings.py   ReportLab(Download)
    def _writeLogFile(self, objType):
        "Write log file for different kind of documentable objects."
 
        cwd = os.getcwd()
        from reportlab.lib.testutils import RL_HOME
        objects = getModuleObjects(RL_HOME, 'reportlab', objType)

src/r/e/reportlab-3.1.8/tests/test_source_chars.py   reportlab(Download)
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, SecureTestCase, GlobDirectoryWalker, printLocation
setOutDir(__name__)
from reportlab.lib.testutils import RL_HOME,testsFolder
__version__=''' $Id$ '''
import os, sys, glob, re
    def testFiles(self):
        w = GlobDirectoryWalker(RL_HOME, '*.py')
        for filename in w:
            self.checkFileForTabs(filename)
            self.checkFileForTrailingSpaces(filename)

src/r/e/reportlab-3.1.8/tests/test_pyfiles.py   reportlab(Download)
    def testAscii(self):
        "Test if Python files are pure ASCII ones."
        from reportlab.lib.testutils import RL_HOME
        allPyFiles = GlobDirectoryWalker(RL_HOME, '*.py')
 
    def testTrailingDigits(self):
        "Test if Python files contain trailing digits."
 
        from reportlab.lib.testutils import RL_HOME
        allPyFiles = GlobDirectoryWalker(RL_HOME, '*.py')
        file.write('No Unix-like first line found in the files below.\n\n')
 
        from reportlab.lib.testutils import RL_HOME
        paths = self.findSuspiciousModules(RL_HOME, 'reportlab')
        paths.sort()

src/r/e/reportlab-3.1.8/tests/test_extra.py   reportlab(Download)
        # look for a file named 'extra.txt' in test directory,
        # exit if not found
        from reportlab.lib.testutils import RL_HOME
        extraFilename = os.path.join(RL_HOME, 'test', EXTRA_FILE)
        if not os.path.exists(extraFilename):

src/m/w/mwlib.ext-0.13.2/upstream-src/tests/test_source_chars.py   mwlib.ext(Download)
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, SecureTestCase, GlobDirectoryWalker, printLocation
setOutDir(__name__)
from reportlab.lib.testutils import RL_HOME,testsFolder
__version__=''' $Id$ '''
import os, sys, glob, string, re
    def testFiles(self):
        w = GlobDirectoryWalker(RL_HOME, '*.py')
        for filename in w:
            self.checkFileForTabs(filename)
            self.checkFileForTrailingSpaces(filename)

src/m/w/mwlib.ext-0.13.2/upstream-src/tests/test_pyfiles.py   mwlib.ext(Download)
    def testAscii(self):
        "Test if Python files are pure ASCII ones."
        from reportlab.lib.testutils import RL_HOME
        allPyFiles = GlobDirectoryWalker(RL_HOME, '*.py')
 
    def testTrailingDigits(self):
        "Test if Python files contain trailing digits."
 
        from reportlab.lib.testutils import RL_HOME
        allPyFiles = GlobDirectoryWalker(RL_HOME, '*.py')
        file.write('No Unix-like first line found in the files below.\n\n')
 
        from reportlab.lib.testutils import RL_HOME
        paths = self.findSuspiciousModules(RL_HOME, 'reportlab')
        paths.sort()

src/m/w/mwlib.ext-0.13.2/upstream-src/tests/test_extra.py   mwlib.ext(Download)
        # look for a file named 'extra.txt' in test directory,
        # exit if not found
        from reportlab.lib.testutils import RL_HOME
        extraFilename = os.path.join(RL_HOME, 'test', EXTRA_FILE)
        if not os.path.exists(extraFilename):

  1 | 2  Next