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)
示例#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))
示例#3
0
 def setUp(self):
     self.posts = list(wp2fields(WORDPRESS_XML_SAMPLE))
     self.custposts = list(wp2fields(WORDPRESS_XML_SAMPLE, True))
示例#4
0
 def setUp(self):
     self.posts = list(wp2fields(WORDPRESS_XML_SAMPLE))
示例#5
0
 def setUp(self):
     self.posts = list(wp2fields(WORDPRESS_XML_SAMPLE))
     self.custposts = list(wp2fields(WORDPRESS_XML_SAMPLE, True))