Ejemplo n.º 1
0
 def setUp(self):
     self.old_locale = locale.setlocale(locale.LC_ALL)
     locale.setlocale(locale.LC_ALL, 'C')
     self.posts = wp2fields(WORDPRESS_XML_SAMPLE)
     self.custposts = wp2fields(WORDPRESS_XML_SAMPLE, True)
Ejemplo n.º 2
0
 def setUp(self):
     self.old_locale = locale.setlocale(locale.LC_ALL)
     locale.setlocale(locale.LC_ALL, str('C'))
     self.posts = list(wp2fields(WORDPRESS_XML_SAMPLE))
     self.custposts = list(wp2fields(WORDPRESS_XML_SAMPLE, True))
Ejemplo n.º 3
0
 def setUp(self):
     self.posts = list(wp2fields(WORDPRESS_XML_SAMPLE))
     self.custposts = list(wp2fields(WORDPRESS_XML_SAMPLE, True))
Ejemplo n.º 4
0
 def setUp(self):
     self.posts = list(wp2fields(WORDPRESS_XML_SAMPLE))
Ejemplo n.º 5
0
 def setUp(self):
     self.posts = list(wp2fields(WORDPRESS_XML_SAMPLE))
     self.custposts = list(wp2fields(WORDPRESS_XML_SAMPLE, True))