Package translate :: Package storage :: Module test_mo :: Class TestMOFile

[hide private]
[frames] | no frames]

# Class TestMOFile

source code

    test_base.TestTranslationStore --+
                                     |
                                    TestMOFile

Nested Classes | [hide private]

| StoreClass A class representing a .mo file.

Instance Methods | [hide private]

get_mo_and_po(self) | source code

remove_po_and_mo(self) | source code

setup_method(self, method) Allocates a unique self.filename for the method, making sure it doesn't exist | source code

teardown_method(self, method) Makes sure that if self.filename was created by the method, it is cleaned up | source code

test_output(self) | source code

Inherited from `test_base.TestTranslationStore`: `check_equality`, `reparse`, `test_add`, `test_create_blank`, `test_files`, `test_find`, `test_markup`, `test_nonascii`, `test_parse`, `test_save`, `test_translate`

Method Details | [hide private]

### setup_method(self, method)

source code

Allocates a unique self.filename for the method, making sure it doesn't exist

Overrides: test_base.TestTranslationStore.setup_method
  (inherited documentation)

### teardown_method(self, method)

source code

Makes sure that if self.filename was created by the method, it is cleaned up

Overrides: test_base.TestTranslationStore.teardown_method
  (inherited documentation)