Home | History | Annotate | Download | only in test

Lines Matching defs:LOCALEDIR

57 LOCALEDIR = os.path.join('xx', 'LC_MESSAGES')
58 MOFILE = os.path.join(LOCALEDIR, 'gettext.mo')
59 UMOFILE = os.path.join(LOCALEDIR, 'ugettext.mo')
60 MMOFILE = os.path.join(LOCALEDIR, 'metadata.mo')
65 if not os.path.isdir(LOCALEDIR):
66 os.makedirs(LOCALEDIR)
81 shutil.rmtree(os.path.split(LOCALEDIR)[0])
87 self.localedir = os.curdir
89 gettext.install('gettext', self.localedir)
157 self.localedir = os.curdir
159 gettext.bindtextdomain('gettext', self.localedir)
165 self.assertEqual(gettext.bindtextdomain('gettext'), self.localedir)
335 self.localedir = os.curdir
340 t = gettext.translation('gettext', self.localedir)
344 t = gettext.translation('gettext', self.localedir,
352 t = gettext.translation('gettext', self.localedir,