julen / pootle

Web-based translation and translation management tool

This URL has Read+Write access

julen (author)
Thu Aug 14 03:23:07 -0700 2008
commit  5dabad7dd12254147b324f23203f1481a91696fb
tree    8e76df3d907f35147d1211d264c634367aff3f48
parent  a88e8b4c37d7155f37faf051a7bd5bc4601068e3
pootle / conftest.py
100644 12 lines (7 sloc) 0.283 kb
1
2
3
4
5
6
7
8
9
10
11
12
# customization of py.test collection
 
import py.test.collect
 
class PootleDirectory(py.test.collect.Directory):
    def recfilter(self, path):
        return super(PootleDirectory, self).recfilter(path) and \
               path.basename not in ('po')
 
Directory = PootleDirectory