Package translate :: Package storage :: Module test_directory :: Class TestDirectory
[hide private]
[frames] | no frames]

Class TestDirectory

source code

object --+
         |
        TestDirectory

a test class to run tests on a test Pootle Server

Instance Methods [hide private]
 
setup_method(self, method)
sets up a test directory
source code
 
teardown_method(self, method)
removes the attributes set up by setup_method
source code
 
cleardir(self, dirname)
removes the given directory
source code
 
touchfiles(self, dir, filenames, content=None) source code
 
mkdir(self, dir)
Makes a directory inside self.testdir.
source code
 
test_created(self)
test that the directory actually exists
source code
 
test_basic(self)
Tests basic functionality.
source code
 
test_structure(self)
Tests a small directory structure.
source code
 
test_getunits(self)
Tests basic functionality.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__