Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
jsbase.conftest.Directory Class Reference

List of all members.

Public Member Functions

def run
def join

Public Attributes


Detailed Description

Definition at line 154 of file

Member Function Documentation

def jsbase.conftest.Directory.join (   self,

Definition at line 161 of file

00162     def join(self, name):
00163         if not name.endswith('.js'):
00164             return super(Directory, self).join(name)
00165         p = self.fspath.join(name)
00166         if p.check(file=1):
00167             return JSChecker(p, parent=self)

Definition at line 155 of file

00156     def run(self):
00157         if self.fspath == here:
00158             return [p.basename for p in self.fspath.listdir('test_*') if
00159                     p.ext in ['.py', '.js']]
00160         return super(Directory, self).run()

Member Data Documentation

Definition at line 156 of file

The documentation for this class was generated from the following file: