Package translate :: Package storage :: Module test_factory :: Class BaseTestFactory

[hide private]
[frames] | no frames]

# Class BaseTestFactory

source code

Known Subclasses:
  - TestPOFactory
  - , TestPOXliffFactory
  - , TestWordfastFactory
  - , TestXliffFactory

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

test_getclass(self) | source code

test_getobject(self) Tests that we get a valid object. | source code

test_get_noname_object(self) Tests that we get a valid object from a file object without a name. | source code

test_gzfile(self) Test that we can open a gzip file correctly. | source code

test_bz2file(self) Test that we can open a gzip file correctly. | source code

test_directory(self) Test that a directory is correctly detected. | source code

Class Methods | [hide private]

cleardir(self, dirname) removes the given directory | source code