Example #1
0
 def test_choice_mode(self):
     s = FeedParser("src.xml", "output.xml")
     self.assertEqual(s.choice_mode('s', 1), True)
Example #2
0
__author__ = 'andrey_prvt'
from RSSFeedParser import FeedParser
import time


feed_parser = FeedParser("src.xml", "output.xml")

start_time = time.time()
feed_parser.choice_mode('m', 0)
end_time = time.time()

print end_time - start_time
Example #3
0
 def test_choice_mode(self):
     s = FeedParser("src.xml", "output.xml")
     self.assertEqual(s.choice_mode('s', 1), True)