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

 fspath

Detailed Description

Definition at line 154 of file conftest.py.


Member Function Documentation

def jsbase.conftest.Directory.join (   self,
  name 
)

Definition at line 161 of file conftest.py.

00161 
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 conftest.py.

00155 
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 conftest.py.


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