Package translate :: Package storage :: Module test_wordfast :: Class TestWFUnit
[hide private]
[frames] | no frames]

Class TestWFUnit

source code

test_base.TestTranslationUnit --+
                                |
                               TestWFUnit

Nested Classes [hide private]
  UnitClass
A Wordfast translation memory unit
Instance Methods [hide private]
 
test_difficult_escapes(self)
Wordfast files need to perform magic with escapes.
source code
 
test_wordfast_escaping(self)
Check handling of &'NN; style escaping
source code
 
test_newlines(self)
Wordfast does not like real newlines
source code
 
test_language_setting(self)
Check that we can set the target language
source code
 
test_istranslated(self) source code

Inherited from test_base.TestTranslationUnit: setup_method, test_create, test_eq, test_escapes, test_isfuzzy, test_note_sanity, test_target

Method Details [hide private]

test_difficult_escapes(self)

source code 
Wordfast files need to perform magic with escapes.
       
       Wordfast does not accept line breaks in its TM (even though they would be
       valid in CSV) thus we turn \n into 
and reimplement the base class test but
       eliminate a few of the actual tests.
       

Overrides: test_base.TestTranslationUnit.test_difficult_escapes