4 from translator import *
7 class Test1( unittest.TestCase ):
9 self.assertEqual( normalize( 'a_b' ), 'a__b' )
10 self.assertEqual( normalize( 'a b' ), 'a_b' )
11 self.assertEqual( normalize( 'a b' ), 'a__b' )
12 self.assertEqual( normalize( 'a__b' ), 'a____b' )
17 #translate( 'telemac2dv6p3', 'test_cata', 'test' )
18 #translate( 'telemac2dv6p3', 'Telemac_Cata_nouveau', 'test' )
19 translate( 'telemac2dv6p3', 'Telemac_Cata', 'main', 'not_translated.txt' )